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 identified by query parameters or sending additional metadata in the JSON body during deletion.
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 set to Query, specify one or more key-value pairs to be sent as URL query parameters. Each pair consists of a Key and its corresponding Value. |
| JSON Object | When "Type of Data" is set to JSON, specify one or more key-value pairs to be sent as properties in the JSON body of the DELETE request. Each pair consists of a Key and its corresponding Value. |
Output
The node outputs the response from the HttpBin API in the json output field. The structure typically reflects the HTTP response returned by HttpBin, including details such as the URL requested, headers, args (query parameters), and data (body content).
If binary data were involved, it would represent raw response content, but this node primarily deals with JSON responses.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - Optionally uses an API authentication token if configured, but it is not mandatory.
- No other external dependencies are required.
Troubleshooting
- Issue: Incorrect or missing query parameters or JSON body keys/values may cause unexpected API responses.
- Resolution: Ensure all required keys and values are correctly specified according to the API's expectations.
- Issue: Network errors or inability to reach
https://httpbin.org.- Resolution: Check internet connectivity and firewall settings.
- Error: Invalid JSON body format.
- Resolution: Verify that JSON key-value pairs are properly formatted and that the "Type of Data" property matches the intended data format.
- Error: Unexpected HTTP status codes.
- Resolution: Review the API documentation for valid DELETE request formats and adjust parameters accordingly.