HttpBin icon

HttpBin

Consume 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 JSON body data. This is useful for testing and debugging HTTP DELETE operations, such as deleting resources on a server or triggering actions that require DELETE semantics.

Practical examples include:

  • Sending a DELETE request with specific query parameters to remove filtered data.
  • Sending a DELETE request with a JSON payload to specify complex deletion criteria.

Properties

Name Meaning
Type of Data Choose the type of data to send with the DELETE request: either Query Parameter Arguments or JSON Body.
Query Parameters When "Type of Data" is set to Query, specify one or more key-value pairs to be sent as query parameters in the URL.
JSON Object When "Type of Data" is set to JSON, specify one or more key-value pairs to be sent as JSON properties in the request body.

Output

The node outputs JSON data returned by the HttpBin API in response to the DELETE request. The structure typically reflects the request details received by HttpBin, including headers, args (query parameters), and data (body content). This output helps verify what was sent and how the server interpreted the request.

No binary data output is produced by this node.

Dependencies

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

Troubleshooting

  • Common issues:
    • Incorrectly formatted query parameters or JSON body may cause the request to fail or return unexpected results.
    • Network connectivity problems can prevent reaching the HttpBin service.
  • Error messages:
    • HTTP errors (e.g., 4xx or 5xx) indicate issues with the request or server. Verify the correctness of parameters and network status.
    • JSON parsing errors may occur if the input data is malformed; ensure keys and values are properly defined.

Links and References

Discussion