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 a JSON body payload. This is useful for testing and debugging HTTP DELETE operations against APIs that accept such inputs.

Common scenarios include:

  • Testing API endpoints that require DELETE requests with query parameters.
  • Sending DELETE requests with JSON bodies to simulate resource deletion with additional data.
  • Debugging how an API handles different types of DELETE request payloads.

Practical example:

  • Deleting a user by sending their ID as a query parameter.
  • Removing a resource by sending a JSON object specifying conditions or identifiers.

Properties

Name Meaning
Type of Data Select 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 to be sent as query parameters in the URL.
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 request.

Output

The node outputs JSON data representing the response from the HttpBin API after performing the DELETE request. The json output field contains the parsed response body, which typically includes details about the request received by HttpBin, such as headers, args (query parameters), and data (body content).

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 credential if configured, but it is not mandatory.
  • No other external dependencies are required.

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 you are testing.
  • Issue: Network errors or inability to reach https://httpbin.org.
    • Resolution: Check internet connectivity and firewall settings.
  • Issue: Response parsing errors.
    • Resolution: Confirm that the response is valid JSON; HttpBin normally returns JSON, so this usually indicates network or configuration issues.

Links and References

Discussion