- The HTTP Request component sends requests to APIs. Optionally, the data retrieved from the API can be utilized in the connected child nodes.
- Request URL and HTTP method are mandatory. HTTP methods supported are GET, POST, PUT, and DELETE.
- Upon clicking "Fetch Response", CX Service initiates an API request to retrieve and store the response.
- If the Response Type/Format is set to application/JSON, the keys in the response become configurable in the child nodes.
- Ex: The HTTP Request component can be further attached to the Send Message Component and the variables/keys can be configured. We can send an SMS along with the employee details in the below manner:
- Headers, Auth, and Params are key-value pairs. Headers and Params have an option to bulk edit. Bulk edits must be specified in JSON format.
- You can configure authorization mechanisms in the Auth tab. We support three kinds of authorization:
- Basic Auth
- Bearer Token (JWT/OAuth)
- OAuth2