Custom API Action
Make a custom HTTP Request to the GitHub API.
Options
Field | Definition | Type | Required |
---|---|---|---|
Request Type |
This is one of the supported HTTP request methods, or HTTP verbs, in a custom API call (see HTTP request methods).
|
Dropdown | TRUE |
Input
Field | Definition | Type | Required |
---|---|---|---|
Relative URL | Base URL is https://api.github.com/{{Relative-URL.Input-request}} .An example of a relative URL for an input request is ![]() The version of the API is handled by the connector in the |
String | FALSE |
Query | Specify any additional query parameters that should be included in object format (key value pairs). | Object | FALSE |
Headers | Specify any headers required in addition to authorization or content-type (these are already handled by this connector). | Object | FALSE |
Body | Specify a request body in JSON format. Only available for POST , PUT , and PATCH requests. |
Object | FALSE |
Output
Field | Definition | Type |
---|---|---|
Status Code | Success or failure of your HTTP request. Here is a list of all status codes. | Number |
Headers | Detailed context for the status code, unrelated to the output body. Response headers are dependent on your selected HTTP request option. Note that not all headers are response headers. This will usually be a replica of the following:
|
Object |
Body | Data returned from your selected HTTP request (for example, the data from a GET request). |
Object |