HttpBin icon

HttpBin

Interact with HttpBin API

Actions2

Overview

This node allows you to perform HTTP DELETE requests to the httpbin.org API. It is useful for testing and debugging HTTP DELETE operations, simulating how your application would interact with RESTful APIs that require data deletion. Common scenarios include:

  • Testing how your workflow handles resource deletion.
  • Simulating API calls that remove items or records.
  • Debugging request formatting for DELETE endpoints.

Example:
You can use this node to send a DELETE request with specific query parameters or JSON body to httpbin.org, and observe the response structure for troubleshooting or development purposes.

Properties

Name Type Meaning
Type of Data Options Select whether to send data as Query Parameters or as a JSON Body in the DELETE request.
Query Parameters Fixed Collection Key-value pairs to be sent as query parameters (when "Type of Data" is "Query").
JSON Object Fixed Collection Key-value pairs to be sent as JSON properties in the request body (when "Type of Data" is "JSON").

Output

The output will be the JSON response from the httpbin.org DELETE endpoint. The structure typically includes:

{
  "args": { /* Query parameters sent */ },
  "data": "{...}", // Raw request body as string
  "files": {},
  "form": {},
  "headers": { /* Request headers */ },
  "json": { /* Parsed JSON body if sent */ },
  "origin": "x.x.x.x",
  "url": "https://httpbin.org/delete?...",
  // ...other fields provided by httpbin.org
}
  • If binary data is returned (not typical for this endpoint), it will represent the raw response.

Dependencies

  • No authentication required for httpbin.org, but the node supports optional credentials (httpbinApi) for other scenarios.
  • Requires internet access to reach https://httpbin.org.

Troubleshooting

  • Common Issues:
    • Incorrectly formatted query parameters or JSON body may result in unexpected responses.
    • Network issues or firewall restrictions could prevent reaching httpbin.org.
  • Error Messages:
    • Request failed with status code 4xx/5xx: Indicates an issue with the request or server; check your input data.
    • Network Error: Ensure your n8n instance has internet connectivity.

Links and References

Discussion