HttpBin icon

HttpBin

Interact with HttpBin API

Actions2

Overview

This node interacts with the HttpBin API to perform HTTP DELETE requests. It allows users to send data either as query parameters or as a JSON body in the DELETE request. This is useful for testing and debugging HTTP DELETE operations, simulating API calls that require deletion of resources with optional parameters.

Common scenarios include:

  • Testing RESTful APIs that use DELETE methods with query parameters.
  • Sending JSON payloads in DELETE requests where the API expects a body.
  • Debugging how an API handles different types of input data on DELETE endpoints.

Example: Deleting a resource identified by query parameters or sending additional metadata in the JSON body during deletion.

Properties

Name Meaning
Type of Data Select type of data to send: Query (query parameters) or JSON (JSON body).
Query Parameters Key-value pairs sent as URL query parameters in the DELETE request (shown if Type of Data = Query).
JSON Object Key-value pairs sent as JSON properties in the body of the DELETE request (shown if Type of Data = JSON).

Output

The node outputs JSON data returned from the HttpBin API after performing the DELETE request. The output JSON typically contains details about the request received by HttpBin, such as headers, args (query parameters), and data (body content). This helps verify what was sent in the request.

If binary data were supported (not indicated here), it would represent any file or media content returned by the API, but this node focuses on JSON responses.

Dependencies

  • Requires access to the public HttpBin API at https://httpbin.org.
  • Optionally uses an API key credential if configured, though not mandatory.
  • No other external dependencies are required.

Troubleshooting

  • Issue: Incorrect or missing query parameters or JSON body keys may cause unexpected API responses.
    • Resolution: Ensure all required keys and values are correctly set according to the API expectations.
  • Issue: Network errors or inability to reach https://httpbin.org.
    • Resolution: Check internet connectivity and firewall settings.
  • Error: Invalid JSON body format.
    • Resolution: Verify that JSON key-value pairs are properly formatted and valid.
  • Error: Unsupported Type of Data selected without corresponding properties filled.
    • Resolution: Make sure to provide either query parameters or JSON body data depending on the selected type.

Links and References

Discussion