Generic Adapters allow access to both unauthenticated and authenticated APIs. Please see Generic Adapter Environment Variables for more information about installation of a Generic Adapter.
Upon installation, the Generic Adapter acts as a middleware API for consumption by Chainlink jobs. This middleware API has one and only one endpoint, the
generic-request (default) endpoint.
|The endpoint to use||generic-request|
Generic Request Endpoint
This endpoint provisions access to the
GENERIC_BASE_URL specified as environment variable upon installation. User may specify a
url which is appended to the base url for requests. In this fashion, one generic adapter may be leveraged for multiple different endpoints to a given API base url.
More information regarding each parameter can be found in the Axios Request Config Docs
|The request method|
|The relative URL appended to the base URL (in |
|The custom headers to be sent with the request (as a JSON object)|
|The query parameters to be sent with the request (as a JSON object)|
|The data to be sent as the request body (as a JSON object). Only applicable to |