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, debugging, or demonstrating how your workflows interact with external APIs using the DELETE method. You can send data either as query parameters or as a JSON body.

Common scenarios:

  • Testing how your workflow handles DELETE requests.
  • Simulating API calls that require deletion of resources.
  • Debugging webhooks or integrations that expect DELETE operations.

Practical example:
You might use this node to test how your application responds when deleting a user by sending their ID as a query parameter or in the request body.

Properties

Name Type Meaning
Type of Data options Select whether to send data as Query Parameters or as a JSON Body.
Query Parameters fixedCollection Key-value pairs to be sent as query parameters in the DELETE request.
JSON Object fixedCollection Key-value pairs to be sent as properties in the JSON body of the DELETE request.
  • Type of Data: Determines if the data will be sent as query parameters (Query) or as a JSON object in the request body (JSON).
  • Query Parameters: Used when "Type of Data" is set to Query. Each entry represents a key-value pair appended to the URL as a query string.
  • JSON Object: Used when "Type of Data" is set to JSON. Each entry represents a key-value pair included in the JSON body of the request.

Output

The node returns the response from httpbin.org's /delete endpoint in the json field. The structure typically includes:

{
  "args": { /* Query parameters sent */ },
  "data": "{...}", // Raw body as a string (if any)
  "files": {},
  "form": {},
  "headers": { /* Request headers */ },
  "json": { /* Parsed JSON body, if sent */ },
  "origin": "x.x.x.x",
  "url": "https://httpbin.org/delete?..."
}
  • If you send query parameters, they appear under args.
  • If you send a JSON body, it appears under json.

Note: This node does not output binary data.

Dependencies

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

Troubleshooting

Common issues:

  • Invalid input format: Ensure that keys and values are provided for all query parameters or JSON properties.
  • Network errors: If httpbin.org is unreachable, check your network connection or proxy settings.
  • Unexpected output: Double-check that you selected the correct "Type of Data" and provided the corresponding arguments.

Error messages:

  • "Request failed with status code 4xx/5xx": Indicates an issue with the request or server. Check your input and try again.
  • "Cannot read property 'key' of undefined": Make sure all key-value pairs are properly filled out.

Links and References

Discussion