Overview
The node interacts with the HttpBin API, specifically performing HTTP GET requests with customizable query parameters. It is useful for testing and debugging HTTP requests by sending GET requests to HttpBin and inspecting the response. Practical applications include verifying how query parameters are sent and received, experimenting with different parameter combinations, or learning about HTTP request structures.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Selects the type of data to send; currently only "Query" (query parameters) is supported. |
| Query Parameters | Key-value pairs representing the query parameters to be included in the GET request URL. |
Output
The node outputs JSON data corresponding to the response from the HttpBin API for the GET request made with the specified query parameters. The json output field contains the full response body returned by HttpBin, which typically includes details about the request such as the URL, headers, and the query parameters received. There is no binary data output.
Dependencies
- Requires access to the public HttpBin API at https://httpbin.org.
- Optionally can use an API authentication token credential if configured, but it is not mandatory.
- No other external dependencies or environment variables are required.
Troubleshooting
- Common issues:
- Network connectivity problems preventing access to https://httpbin.org.
- Incorrectly formatted query parameters causing unexpected responses.
- Error messages:
- HTTP errors (e.g., 4xx or 5xx status codes) indicate issues with the request or server availability.
- JSON parsing errors may occur if the response is not valid JSON.
- Resolutions:
- Verify internet connection and that https://httpbin.org is reachable.
- Double-check query parameter keys and values for correctness.
- Ensure the node's input properties are properly set according to the expected format.