Overview
This n8n node allows you to interact with the HttpBin API using HTTP GET requests. It is designed for testing and debugging HTTP requests by sending customizable query parameters and receiving structured responses that echo your request details. Common scenarios include:
- Testing how your application sends query parameters.
- Debugging webhooks or integrations by inspecting the exact data sent in a GET request.
- Learning or demonstrating how HTTP GET requests work.
Example use cases:
- Sending a set of query parameters to see how they are received by an endpoint.
- Verifying the structure of outgoing requests from n8n workflows.
Properties
| Name | Type | Meaning |
|---|---|---|
| Type of Data | options | Selects the type of data to send; for this operation, only "Query" (query parameters) is available. |
| Query Parameters | fixedCollection | The key-value pairs to be sent as query parameters in the GET request. |
Output
The node outputs a JSON object reflecting the response from the HttpBin /get endpoint. The structure typically includes:
{
"args": { /* Echoed query parameters */ },
"headers": { /* Request headers received by HttpBin */ },
"origin": "string", // IP address of the requester
"url": "string" // Full URL including query string
}
- args: An object containing all query parameters sent.
- headers: The headers received by HttpBin.
- origin: The source IP address of the request.
- url: The full URL used for the request.
Dependencies
- External Service: HttpBin
- Credentials: No authentication required for public endpoints.
- n8n Configuration: No special configuration needed unless using custom HttpBin instances.
Troubleshooting
Common Issues:
- Malformed Query Parameters: If keys or values are missing, the
argsfield in the output will not reflect the intended data. - Network Errors: If n8n cannot reach httpbin.org, you may receive connection errors.
- Unexpected Output: If the response does not contain expected fields, verify that the query parameters are correctly configured.
Error Messages:
- "Request failed with status code 4xx/5xx": Indicates an issue with the request or the HttpBin service. Check your network connection and parameter formatting.
- "Cannot read property 'args' of undefined": The response did not include the expected structure, possibly due to a non-JSON response or server error.