Overview
This node interacts with the HttpBin API, specifically allowing you to perform HTTP DELETE requests. It is useful for testing and debugging HTTP DELETE operations by sending either query parameters or JSON data in the request. Typical use cases include simulating API DELETE calls, validating server responses to DELETE requests, or experimenting with different payload formats.
For example, you can send a DELETE request with specific query parameters to test how an API handles resource deletion based on URL queries, or send a JSON body to delete resources identified by complex criteria.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Choose the format of data to send with the DELETE request: either Query parameters or JSON body. |
| 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 to be sent as a JSON object in the request body. |
Details on input properties:
- Type of Data: Options are:
Query— Send data as URL query parameters.JSON— Send data as a JSON-formatted body.
- Query Parameters: A collection of key-value pairs where each key and value is a string. These are serialized into the URL query string.
- JSON Object: A collection of key-value pairs where each key and value is a string. These are serialized into the JSON body of the request.
Output
The node outputs the response from the HttpBin API in the json field of the output data. This typically includes details about the received request such as headers, args (query parameters), and data (body content). The structure reflects the HttpBin service's echo of the request, which helps verify what was sent.
No binary data output is produced by this node.
Dependencies
- Requires access to the public HttpBin API at
https://httpbin.org. - No authentication credentials are strictly required but the node supports optional API key credentials if needed.
- Network connectivity to the HttpBin service must be available.
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 errors returned by HttpBin (e.g., 4xx or 5xx status codes) indicate issues with the request or server.
- JSON parsing errors if the input data is malformed.
- Resolutions:
- Verify that keys and values in query parameters or JSON body are correctly specified.
- Ensure network connectivity and that the base URL
https://httpbin.orgis accessible. - Use the node’s output to inspect the echoed request and adjust inputs accordingly.