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 JSON data to specify 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 | Key-value pairs representing the query parameters to include in 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 the JSON properties to include in the request 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 made, such as the URL, headers, query parameters, and JSON body received by HttpBin. This helps verify what was sent in the request.
No binary data output is produced by this node.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - Optionally can be configured with an API authentication token credential if needed, 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 responses.
- Resolution: Ensure all required keys and values are correctly specified in the node's properties.
- Issue: Network errors or inability to reach
https://httpbin.org.- Resolution: Check internet connectivity and firewall settings.
- Issue: Unexpected response format or empty output.
- Resolution: Verify that the correct
Type of Datais selected and that the data structure matches the expected format for query parameters or JSON body.
- Resolution: Verify that the correct