Overview
This node interacts with the HttpBin API, specifically supporting HTTP GET requests under the "HTTP Verb" resource. It allows users to send HTTP GET requests with customizable query parameters. This is useful for testing and debugging HTTP requests by sending specific query parameters and observing the response from HttpBin, a popular service for HTTP request & response inspection.
Practical examples include:
- Testing how an API handles various query parameters.
- Debugging URL encoding issues.
- Inspecting the structure of HTTP GET requests sent from n8n workflows.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Selects the type of data to send; here it only supports "Query" (query parameters). |
| Query Parameters | Key-value pairs representing the query parameters to be appended to the GET request URL. |
The "Query Parameters" property allows multiple key-value pairs where each key is the parameter name and the value is its corresponding value in the query string.
Output
The node outputs JSON data representing the response from the HttpBin API for the GET request made. The json output field contains the full HTTP response body parsed as JSON, which typically includes details about the request such as the URL, headers, and the query parameters received by HttpBin.
No binary data output is produced by this node.
Dependencies
- Requires access to the public HttpBin API at https://httpbin.org.
- No mandatory credentials are required, but the node optionally supports an API key credential if needed.
- Network connectivity to the HttpBin service must be available.
Troubleshooting
- Common Issues:
- Network errors if the HttpBin service is unreachable.
- Incorrectly formatted query parameters may lead to unexpected responses.
- Error Messages:
- HTTP errors returned by HttpBin (e.g., 4xx or 5xx status codes) will be surfaced as execution errors.
- Missing or invalid query parameter keys/values might cause the request to fail or return incomplete data.
- Resolutions:
- Verify network connectivity.
- Ensure query parameters are correctly specified as key-value pairs.
- Check that the base URL (https://httpbin.org) is not blocked by firewalls or proxies.
Links and References
- HttpBin Official Website
- HttpBin Documentation
- n8n Documentation on HTTP Request Node (for general HTTP request concepts)