Authorization Types

Authorization types supported by Requestly
Requeslty supports various Authorization Types which can be selected by clicking the Authorization tab and selecting the desired value from dropdown.

Types:

No Auth

Requestly won't send authorization details with a request unless you specify an auth type. If your request doesn't require authorization, select the Authorization tab, then select No Auth from the Auth Type dropdown list.

Inherit auth from parent

In this case requestly will use the auth applied at the parent level and inherit its properties , it will be populated while sending the request.

API Key

Requestly allows you to send the key value pair along with the other data. This key value pair can be added to either Headers or Query params. In the request Authorization tab, select API Key from the Auth Type list. Enter your key name and value, and select either Header or Query Params from the Add to dropdown list. You can store your values in variables for enhanced security.

Bearer Tokens

Bearer tokens enable requests to authenticate using an access key, such as a JSON Web Token (JWT). The token is a text string, included in the request header. In the request Authorization tab, select Bearer Token from the Auth Type dropdown list. In the Token field, enter your API key value. For added security, store it in a variable and reference the variable by name.

Requestly appends the token value to the text Bearer in the required format to the request Authorization header as follows:

Basic Auth

Basic authentication involves sending a verified username and password with your request. In the request Authorization tab, select Basic Auth from the Auth Type dropdown list.

Enter your API username and password in the Username and Password fields. For extra security, store these in variables

In the request Headers, the Authorization header passes the API a Base64 encoded string representing your username and password values, appended to the text Basic as follows:

Updated on