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 use DELETE methods 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 | Key-value pairs to be sent as query parameters in the DELETE request URL (shown if "Type of Data" is Query). |
| JSON Object | Key-value pairs to be sent as JSON properties in the DELETE request body (shown if "Type of Data" is JSON). |
Output
The node outputs the response from the HttpBin API in the json field. This typically includes details about the received request such as headers, args (query parameters), and data (body content) as echoed back by HttpBin. The output structure helps verify what was sent and how the server interpreted it.
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 mandatory.
- No other external dependencies are required.
Troubleshooting
- Issue: Incorrect or missing query parameters or JSON body keys may cause unexpected responses.
- Resolution: Ensure keys and values are correctly set according to the API requirements.
- 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 all required fields are included.
- Error: Selecting a data type but not providing corresponding data.
- Resolution: Provide at least one key-value pair in the selected data type section.