HttpBin icon

HttpBin

Interact with HttpBin API

Actions2

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 a JSON body payload. This is useful for testing and debugging HTTP DELETE operations against APIs that accept such requests.

Common scenarios include:

  • Testing RESTful API endpoints that require DELETE methods.
  • Sending dynamic query parameters or JSON data in DELETE requests.
  • Debugging how an API handles different types of DELETE request payloads.

For example, you might use this node to delete a resource identified by query parameters or to send a JSON object specifying deletion criteria.

Properties

Name Meaning
Type of Data Select the type of data to send with the DELETE request: "Query" (query parameters) or "JSON" (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 as properties in the JSON body of the request.

Output

The node outputs the response from the HttpBin API after performing the DELETE request. The output is structured as JSON containing the details of the request received by HttpBin, including headers, args (query parameters), and data (body content).

If the node supports binary data output, it would represent any binary response from the API, but based on the code and typical HttpBin responses, the output is primarily JSON.

Dependencies

  • Requires access to the public HttpBin API at https://httpbin.org.
  • Optionally uses an API authentication token if configured, but it is not required.
  • No additional external dependencies beyond standard HTTP request capabilities.

Troubleshooting

  • Incorrect query parameters or JSON body: Ensure keys and values are correctly specified; missing or malformed parameters may cause unexpected API responses.
  • Network issues: If the node cannot reach https://httpbin.org, check internet connectivity and firewall settings.
  • Invalid JSON body: When sending JSON data, ensure all values are valid strings; invalid JSON formatting will cause errors.
  • Unexpected response structure: Since HttpBin echoes back the request, verify that the output matches your input to confirm correct request formation.

Links and References

Discussion