Overview
This node allows you to perform HTTP DELETE requests to the httpbin.org API. It is useful for testing, debugging, or demonstrating how your workflow handles HTTP DELETE operations with various payloads. Common scenarios include simulating API deletions, verifying request formatting, and inspecting server responses when sending query parameters or JSON bodies.
Practical examples:
- Testing how your workflow deletes resources via an API endpoint.
- Sending custom query parameters or JSON data in a DELETE request to observe the response structure.
- Debugging authentication or parameter-passing issues before integrating with a production API.
Properties
Name | Type | Meaning |
---|---|---|
Type of Data | options | Select whether to send data as Query Parameters or as a JSON Body. |
Query Parameters | fixedCollection | Key-value pairs to be sent as query parameters in the DELETE request (if selected). |
JSON Object | fixedCollection | Key-value pairs to be sent as properties in the JSON body of the DELETE request (if selected). |
Output
The node returns the JSON response from httpbin.org for the DELETE request. The structure typically includes:
{
"args": { /* Query parameters sent */ },
"data": "{...}", // Raw JSON string if body was sent
"json": { /* Parsed JSON object if body was sent */ },
"headers": { /* Request headers */ },
"origin": "IP address",
"url": "Full request URL"
}
- If binary data is returned (not typical for this operation), it will represent the raw response from the API.
Dependencies
- External Service: httpbin.org
- Credentials: No authentication required by default.
- n8n Configuration: No special environment variables or settings needed.
Troubleshooting
Common Issues:
- Invalid Parameter Format: Ensure that key-value pairs are correctly entered; missing keys or values may result in errors or unexpected responses.
- Network Errors: If httpbin.org is unreachable, you may see connection or timeout errors.
- Unexpected Response Structure: If you select the wrong data type (Query vs. JSON), the response fields (
args
vs.json
) may not contain your expected data.
Error Messages:
"Cannot read property 'key' of undefined"
: Usually means a key-value pair is incomplete. Double-check your input fields."Request failed with status code 4xx/5xx"
: Indicates an issue with the request or the remote service. Check your parameters and try again.
Links and References
- httpbin.org DELETE documentation
- n8n Documentation: HTTP Request Node (for general HTTP concepts)