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 JSON body data. This is useful for testing and debugging HTTP DELETE operations against an API endpoint, simulating how a server would respond to such requests.

Common scenarios include:

  • Testing RESTful APIs that require DELETE requests with specific query parameters.
  • Sending JSON payloads in DELETE requests where the API expects a body.
  • Debugging and inspecting HTTP DELETE request responses from the HttpBin service.

Example: Deleting a resource identified by query parameters or sending metadata in the JSON body of a DELETE request.

Properties

Name Meaning
Type of Data Select the type of data to send with the DELETE request. Options: Query (query parameters), JSON (JSON body).
Query Parameters When "Type of Data" is Query, specify one or more key-value pairs as query parameters to include in the URL.
JSON Object When "Type of Data" is 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. The structure corresponds to the HTTP response returned by the DELETE request, typically including details about the received query parameters or JSON body, headers, and other metadata as echoed back by HttpBin.

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 credential if configured, but it is not mandatory.
  • No additional environment variables or external services are required beyond internet access.

Troubleshooting

  • Issue: Incorrect or missing query parameters or JSON body keys may cause unexpected responses.
    • Resolution: Ensure all required keys and values are correctly specified according to the API expectations.
  • Issue: Network errors or inability to reach https://httpbin.org.
    • Resolution: Verify internet connectivity and that no firewall or proxy blocks access to HttpBin.
  • Error: Invalid JSON body format.
    • Resolution: Confirm that JSON key-value pairs are properly formatted and valid strings.
  • Error: Selecting a data type but not providing corresponding data.
    • Resolution: Provide at least one key-value pair for the selected data type (query or JSON).

Links and References

Discussion