HttpBin icon

HttpBin

Interact with HttpBin API

Actions2

Overview

This node interacts with the HttpBin API, specifically allowing you to perform HTTP DELETE requests with customizable data payloads. It is useful for testing and debugging HTTP DELETE operations by sending either query parameters or JSON bodies to the HttpBin service, which then returns the request details in the response.

Practical examples include:

  • Testing how your application handles DELETE requests with specific query parameters.
  • Sending JSON data in a DELETE request body to simulate API interactions.
  • Debugging HTTP client behavior by inspecting the echoed request from HttpBin.

Properties

Name Meaning
Type of Data Choose 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 to include in 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 JSON data representing the response from the HttpBin API. This response typically includes details about the received DELETE request such as headers, query parameters, and JSON body content, allowing you to verify what was sent.

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 can prevent reaching the HttpBin API.
  • Error messages:
    • HTTP errors (e.g., 4xx or 5xx) indicate issues with the request or server availability.
    • Validation errors if required keys or values are missing in the input properties.
  • Resolutions:
    • Ensure all required key-value pairs are provided and correctly formatted.
    • Verify network connectivity and that https://httpbin.org is reachable.
    • Check that the selected "Type of Data" matches the provided input fields.

Links and References

Discussion