HttpBin icon

HttpBin

Interact with HttpBin API

Actions2

Overview

This node interacts with the HttpBin API, specifically allowing you to perform HTTP DELETE requests. It is useful for testing and debugging HTTP DELETE operations by sending either query parameters or JSON data in the request. Common scenarios include simulating API DELETE calls, validating server responses to DELETE requests, or experimenting with different payload formats.

For example, you can use this node to send a DELETE request with specific query parameters to test how an API handles resource deletion based on URL queries, or send a JSON body to delete resources identified by complex criteria.

Properties

Name Meaning
Type of Data Selects the format of data sent 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 in the json field. This typically includes details about the received DELETE request such as headers, args (query parameters), and data (body content). The output structure reflects the HttpBin API's response format, which helps verify what was sent and received.

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 unexpected responses.
    • Network connectivity problems will prevent reaching the HttpBin service.
    • Selecting the wrong "Type of Data" option may lead to the data being ignored or sent incorrectly.
  • Error messages:

    • HTTP errors (e.g., 4xx or 5xx status codes) indicate issues with the request or server.
    • Validation errors if required keys or values are missing in the input properties.
  • Resolutions:

    • Ensure all required key-value pairs are provided and correctly typed.
    • Verify network connectivity and that https://httpbin.org is reachable.
    • Match the "Type of Data" selection with the intended payload format.

Links and References

Discussion