API Authentication
API authentication is a crucial step for securing your API and ensuring that only authorized users can access it. In Theneo, you can easily set up authentication using HTTP Basic Auth, where your API key is included in the HTTP request headers. This process verifies your identity and grants access to the API’s resources.
Theneo offers two ways to configure API authentication:
- From the Theneo Editor
- Using Pre-request Scripts from the Project Dashboard
Setting API Authentication from the Theneo Editor
Follow these steps to set up authentication directly within the Theneo editor:
Setting API Authentication Using Pre-request Scripts
For more advanced use cases, you can configure authentication using pre-request scripts. Here’s how you can do it:
Was this section helpful?
What made this section unhelpful for you?
On this page
- API Authentication