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 applications include simulating API DELETE calls, validating server responses to different input formats, and experimenting with request configurations without needing a real backend.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Choose the format of data to send with the DELETE request: either as Query Parameters or JSON Body. Options: Query, JSON. |
| Query Parameters | When "Type of Data" is set to Query, specify one or more key-value pairs to be sent as URL query parameters in the DELETE request. Each pair consists of a Key (string) and a Value (string). |
| JSON Object | When "Type of Data" is set to JSON, specify one or more key-value pairs to be sent as JSON properties in the body of the DELETE request. Each pair consists of a Key (string) and a Value (string). |
Output
The node outputs the response from the HttpBin API in the json field of its output data. This typically includes details about the received request such as headers, args (query parameters), and data (body content), reflecting what was sent. The output structure helps verify that the DELETE request was formed correctly 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. - No mandatory authentication is needed, but an optional API key credential can be configured.
- Network connectivity to the HttpBin service is necessary.
Troubleshooting
- Common Issues:
- Incorrectly formatted query parameters or JSON body may cause unexpected responses or errors.
- Network issues or HttpBin service downtime will result in request failures.
- Error Messages:
- HTTP error codes returned by HttpBin (e.g., 4xx or 5xx) indicate client or server errors respectively; check the request data and network status.
- Validation errors if required keys or values are missing in the input properties.
- Resolutions:
- Ensure all required key-value pairs are provided and properly formatted.
- Verify network connectivity and HttpBin service availability.
- Use the node’s output to debug the exact request sent.