HTTP Verb → DELETE
AI-generatedOverview
This node performs an HTTP DELETE request to the HttpBin API. It allows users to send data either as query parameters or as a JSON body in the DELETE request. This is useful for scenarios where you need to delete resources on a server and optionally pass additional data to specify the deletion criteria or context.
Use Case Examples
- Deleting a resource by specifying query parameters such as an ID or filter criteria.
- Sending a JSON object in the body of the DELETE request to provide detailed instructions or data for the deletion operation.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Selects the type of data to send with the DELETE request, either as query parameters or as a JSON body. |
| Query Parameters | Key-value pairs to be sent as query parameters in the DELETE request URL. Only shown if 'Type of Data' is set to 'Query'. |
| JSON Object | Key-value pairs to be sent as JSON properties in the body of the DELETE request. Only shown if 'Type of Data' is set to 'JSON'. |
| Request Options | Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
statusCode- HTTP status code returned by the DELETE request.headers- HTTP response headers from the DELETE request.body- Response body content returned by the DELETE request, typically JSON data from HttpBin.
Dependencies
- HttpBin API endpoint (https://httpbin.org)
Troubleshooting
- Ensure the base URL is reachable and the HttpBin service is operational to avoid connection errors.
- If using query parameters, verify that keys and values are correctly formatted and URL-encoded if necessary.
- When sending JSON data, ensure the JSON structure is valid and keys/values are correctly specified.
- Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.
- SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.
Links
- HttpBin Official Website - Official site for the HttpBin API used by this node.