Overview
This node interacts with the HttpBin API, specifically allowing you to perform HTTP DELETE requests with customizable data payloads. It is useful for testing and debugging HTTP DELETE operations by sending either query parameters or JSON body data to the endpoint. Practical examples include simulating API calls that delete resources identified by query parameters or sending JSON data in the request body to test server behavior.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Select the type of data to send with the DELETE request: either Query parameters or JSON body data. |
| Query Parameters | When "Type of Data" is set to Query, specify one or more key-value pairs as query parameters appended to the URL. |
| JSON Object | When "Type of Data" is set to JSON, specify one or more key-value pairs as properties in the JSON body of the request. |
Output
The node outputs a JSON object representing the response from the HttpBin API after performing the DELETE request. This typically includes details about the request received by HttpBin, such as the URL, headers, query parameters, and JSON body content sent. The output does not include binary data.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - No special authentication is required, but an optional API key credential can be configured (not mandatory).
- Network connectivity to the HttpBin service is necessary.
Troubleshooting
- Common issues:
- Incorrectly formatted query parameters or JSON body may cause unexpected responses.
- Network errors if the HttpBin service is unreachable.
- Error messages:
- HTTP error codes returned by HttpBin will be passed through; verify the correctness of the request data.
- If no data is provided when required, the node might fail or return an empty response.
- Resolutions:
- Ensure query parameters or JSON keys/values are correctly specified.
- Check network connectivity.
- Use the node’s output to debug the exact request sent.