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 be sent with the DELETE request (shown only if "Type of Data" is "Query"). |
| JSON Object | Key-value pairs representing the JSON properties to be sent in the body of the DELETE request (shown only if "Type of Data" is "JSON"). |
Output
The node outputs the response from the HttpBin API in the json field. The structure typically reflects the HTTP response returned by HttpBin, including details such as the URL called, headers received, and any data sent. Since this node interacts with HttpBin, the output can be used to verify what was sent and received during the DELETE request.
No binary data output is expected from 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 may cause unexpected responses.
- Resolution: Ensure that the keys and values for query parameters or JSON body 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.
- Issue: Unexpected response format or errors from HttpBin.
- Resolution: Verify that the DELETE request is properly formed with the correct data type selected (query vs JSON).