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 metadata in the JSON body to specify what should be deleted.
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 the query parameters to append to the URL when Type of Data is set to Query. Each pair consists of a key and its corresponding value. |
| JSON Object | Key-value pairs representing properties to include in the JSON body when Type of Data is set to JSON. Each pair consists of a key and its corresponding value. |
Output
The node outputs JSON data returned from the HttpBin API after performing the DELETE request. The output JSON typically contains details about the request received by HttpBin, such as the URL, headers, query parameters, and JSON body sent. This helps verify what was actually transmitted in the DELETE request.
If binary data were involved (not indicated here), it would represent any file or media content returned by the API, but this node focuses on JSON responses.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - Optionally uses an API authentication token if configured, though not mandatory.
- No additional external dependencies beyond standard HTTP request capabilities.
Troubleshooting
- Issue: Incorrect or missing query parameters or JSON body keys may cause unexpected API responses.
- Resolution: Verify that keys and values are correctly specified and match the API expectations.
- Issue: Network errors or inability to reach
https://httpbin.org.- Resolution: Check internet connectivity and firewall settings.
- Error: Invalid JSON body format.
- Resolution: Ensure JSON key-value pairs are properly formatted and all required fields are included.
- Error: Unexpected response status codes.
- Resolution: Review the API documentation for valid DELETE request formats and adjust inputs accordingly.