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 specific JSON data instructing what to delete.

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 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 key-value pairs to be sent as JSON properties in the request body. Each pair consists of a Key and its corresponding Value.

Output

The node outputs the response from the HttpBin API in the json field of the output data. The structure reflects the HTTP response returned by HttpBin for the DELETE request, typically including details such as the URL called, headers received, and any data 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

  • Issue: Incorrect or missing query parameters or JSON body keys/values may cause unexpected responses or errors.
    • Resolution: Ensure all required keys and values are correctly specified according to the API expectations.
  • Issue: Network connectivity problems or inability to reach https://httpbin.org.
    • Resolution: Verify internet connection and that the HttpBin service is reachable.
  • Error: HTTP error responses from HttpBin (e.g., 4xx or 5xx status codes).
    • Resolution: Check the request parameters and data format; consult HttpBin documentation for valid usage.
  • Error: Malformed JSON body when "Type of Data" is set to JSON.
    • Resolution: Confirm that JSON key-value pairs are properly formatted and valid.

Links and References

Discussion