Overview
This node interacts with the HttpBin API, specifically performing HTTP DELETE requests. It allows users to send DELETE requests with either query parameters or JSON body data. This is useful for testing and debugging HTTP DELETE operations against APIs that accept such requests.
Common scenarios include:
- Testing API endpoints that require DELETE requests with specific query parameters.
- Sending JSON payloads in a DELETE request body to simulate complex delete operations.
- Debugging how an API handles different types of input data on DELETE calls.
Example: Deleting a resource identified by query parameters or sending a JSON object specifying deletion criteria.
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 | When "Type of Data" is Query, specify one or more key-value pairs as query parameters to be sent with the request URL. |
| JSON Object | When "Type of Data" is JSON, specify one or more key-value pairs as properties in the JSON body of the DELETE request. |
Output
The node outputs the response from the HttpBin API in the json field. The structure typically reflects the HTTP response content returned by HttpBin, which echoes back the request details including headers, args (query parameters), and data (body).
No binary data output is expected from this node.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - Optionally uses an API authentication 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 keys may cause unexpected responses or errors.
- Resolution: Ensure all required keys and values are correctly set according to the API expectations.
- Issue: Network connectivity problems to
https://httpbin.org.- Resolution: Verify internet connection and firewall settings.
- Error Messages: Errors related to invalid JSON or malformed query parameters.
- Resolution: Double-check the format of the input data and use valid JSON syntax or properly formatted key-value pairs.