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 REST APIs that accept DELETE requests 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 the type of data to send with the DELETE request. Options: Query (query parameters), JSON (JSON body).
Query Parameters When "Type of Data" is set to Query, specify one or more key-value pairs to be sent as URL query parameters. Each pair consists of a Key and its corresponding Value.
JSON Object When "Type of Data" is set to JSON, specify one or more key-value pairs to be sent as properties in the JSON body of the DELETE request. Each pair consists of a Key and its corresponding Value.

Output

The node outputs the response from the HttpBin API in the json field. The structure typically reflects the HTTP response returned by HttpBin, including details such as the URL called, headers received, and any data sent (query parameters or JSON body).

No binary data output is produced by this node.

Dependencies

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

Troubleshooting

  • Issue: Incorrect or missing query parameters or JSON keys may cause unexpected API responses.
    • Resolution: Verify that all required keys and values are correctly specified according to the API's expectations.
  • Issue: Network errors or inability to reach https://httpbin.org.
    • Resolution: Check internet connectivity and firewall settings.
  • Issue: Unexpected response format or empty response.
    • Resolution: Confirm that the correct "Type of Data" option is selected and that the data is properly formatted.

Links and References

Discussion