Skip to content

HTTP Bearer Token

Parameters for HTTP connections using Bearer Token (RFC 6750).


General Information:

Type ID Module Category
6 httplib api

BearerTokenConnectionParams

Parameters:

  • token : str

Input Parameters:

Field Type Required Description Default value Examples
url HttpUrl Service endpoint full URL PydanticUndefined https://api.example.com/endpoint
headers Optional[dict[str, str]] Additional HTTP headers to include in the request None {"Authorization": "Bearer token", "Content-Type": "application/json"}
method Literal[GET, POST, PUT, DELETE, PATCH] HTTP method to use GET POST
body Optional[dict[str, Any]] JSON body of the request None {"key": "value"}
verify_ssl bool Whether to validate the SSL certificate True True
token str Bearer Token Value PydanticUndefined bearer_token_value

Example:

{
  "url": "https://api.example.com/bearer",
  "token": "bearer_token_value",
  "headers": {},
  "method": "GET",
  "body": null,
  "verify_ssl": true
}

Notes:

The token is automatically included in the Authorization header as