Overview
This node interacts with the HttpBin API, specifically performing HTTP DELETE requests. It allows users to send DELETE requests with either query parameters or JSON body data. This is useful for testing and debugging HTTP DELETE operations, simulating API calls that require deletion of resources or data.
Practical examples include:
- Sending a DELETE request with specific query parameters to remove filtered data.
- Sending a DELETE request with a JSON payload to delete resources identified by complex criteria.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Selects the type of data to send with the DELETE request: either Query Parameters or JSON Body. Options: "Query", "JSON". |
| Query Parameters | When "Type of Data" is set to Query, this property lets you specify multiple key-value pairs as query parameters appended to the URL. Each pair consists of a Key (parameter name) and Value (parameter value). |
| JSON Object | When "Type of Data" is set to JSON, this property lets you specify multiple key-value pairs as JSON properties in the request body. Each pair consists of a Key (property name) and Value (property value). |
Output
The node outputs the response from the HttpBin API after performing the DELETE request. The output is structured as JSON containing the server's response data, which typically includes details about the request received by HttpBin (such as headers, args, json, etc.). There is no binary data output.
Dependencies
- Requires access to the public HttpBin API at https://httpbin.org.
- Optionally can use an API authentication token credential if configured, but it is not mandatory.
- No additional external dependencies are required.
Troubleshooting
- Common issues:
- Incorrectly formatted query parameters or JSON body may cause the API to reject the request or return unexpected results.
- Network connectivity problems will prevent reaching the HttpBin service.
- Error messages:
- HTTP errors such as 400 Bad Request may indicate malformed input data.
- 404 Not Found could occur if the URL or resource path is incorrect.
- Resolutions:
- Verify the keys and values in query parameters or JSON body are correctly specified.
- Ensure network access to https://httpbin.org is available.
- Check that the "Type of Data" matches the format of the provided arguments.