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 DELETE requests to APIs that support it.
- Debugging how an API handles different types of DELETE request data.
For example, a user might want to delete resources identified by query parameters or send a JSON object specifying deletion criteria.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Select the type of data to send with the DELETE request: "Query" (query parameters) or "JSON" (JSON body). |
| Query Parameters | When "Type of Data" is set to "Query", specify one or more key-value pairs as query parameters to include in the URL. |
| JSON Object | When "Type of Data" is set to "JSON", specify one or more key-value pairs as properties in the JSON body of the request. |
Output
The node outputs the response from the HttpBin API in the json field of the output data. The structure corresponds to the standard HttpBin response format for DELETE requests, typically including details about the received arguments or JSON data, headers, and other metadata.
No binary data output is produced by this node.
Dependencies
- Requires access to the public HttpBin API at https://httpbin.org.
- Optionally uses an API key credential if configured, but it is not required.
- No additional environment variables or special n8n configurations are necessary.
Troubleshooting
- Issue: Incorrect or missing query parameters or JSON keys may cause unexpected API responses.
- Resolution: Ensure all required keys and values are correctly specified according to the target API's expectations.
- Issue: Network errors or inability to reach https://httpbin.org.
- Resolution: Check internet connectivity and firewall settings.
- Error Messages: Errors related to invalid JSON or malformed query parameters.
- Resolution: Validate the input data format before execution.