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 against an API endpoint, simulating how a server would handle such requests.
Common scenarios include:
- Testing RESTful APIs that require DELETE requests with specific query parameters.
- Sending JSON payloads in DELETE requests where the API expects a body.
- Debugging and inspecting how an API responds to different types of DELETE request data.
Example: Deleting a resource identified by query parameters or sending metadata in the JSON body to specify what should be deleted.
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 | When "Type of Data" is set to Query, specify one or more key-value pairs as query parameters to include in 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 the response from the HttpBin API in the json field. The structure typically reflects the HTTP response content returned by HttpBin, which echoes back the request details such as headers, args (query parameters), and JSON data sent.
If binary data were involved (not indicated here), it would represent raw response content, but this node focuses on JSON responses.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - Optionally uses an API authentication token if configured, but it is not mandatory.
- No additional external dependencies beyond standard HTTP request capabilities.
Troubleshooting
- Incorrect query parameters or JSON keys: Ensure keys and values are correctly specified; missing required keys may cause unexpected API responses.
- Network issues: If the node cannot reach
https://httpbin.org, check internet connectivity or firewall settings. - Invalid JSON body: When sending JSON data, ensure the key-value pairs form valid JSON; otherwise, the API might reject the request.
- Unexpected API errors: Since HttpBin is a testing service, errors usually indicate malformed requests; verify property configurations.