Overview
This node interacts with the HttpBin API to perform HTTP DELETE requests. It allows users to send data either as query parameters or as a JSON body in the DELETE request. This is useful for testing and debugging HTTP DELETE operations, simulating API calls that require deletion of resources with optional parameters.
Common scenarios include:
- Testing REST APIs that accept DELETE requests with query parameters.
- Sending JSON payloads in DELETE requests where the API expects a body.
- Debugging how an API handles different types of input data on DELETE endpoints.
Example: Deleting a resource by specifying its ID as a query parameter or sending metadata in the JSON body to specify deletion conditions.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Select the type of data to send with the DELETE request. Options: Query (query parameters), JSON (JSON body). |
| Query Parameters | Key-value pairs representing query parameters to be sent with the DELETE request (only shown if "Type of Data" is Query). |
| JSON Object | Key-value pairs representing JSON properties to be sent in the body of the DELETE request (only shown if "Type of Data" is JSON). |
Output
The node outputs the response from the HttpBin API in the json field. The structure typically reflects the HTTP response including details such as the URL called, headers received, and any data sent back by the server. Since this node interacts with HttpBin, the output will contain diagnostic information about the DELETE request made, useful for verifying what was sent and received.
No binary data output is expected from this node.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - Optionally can use an API key credential if configured, but it is not mandatory.
- No additional environment variables or special n8n configurations are required.
Troubleshooting
- Issue: Incorrect or missing query parameters or JSON body fields may cause unexpected responses.
- Resolution: Ensure all required keys and values are correctly set in the input properties.
- Issue: Network errors or inability to reach
https://httpbin.org.- Resolution: Check internet connectivity and firewall settings.
- Error Message: HTTP error codes returned by HttpBin (e.g., 400 Bad Request).
- Resolution: Verify the format and content of query parameters or JSON body matches expected API requirements.