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 "Query" selected).
JSON Object Key-value pairs sent as JSON properties in the body of the DELETE request (shown if "JSON" selected).

Output

The node outputs the response from the HttpBin API in the json field. This typically contains the details of the request received by HttpBin, including headers, args (query parameters), and data (body content). The output structure reflects the HTTP response and can be used to verify what was sent and received.

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

Troubleshooting

  • Issue: Incorrect or missing query parameters or JSON body results in unexpected API responses.
    • Resolution: Ensure the correct "Type of Data" is selected and that all required keys and values are provided.
  • Issue: Network errors or inability to reach https://httpbin.org.
    • Resolution: Check internet connectivity and firewall settings.
  • Error Messages: Errors related to invalid JSON or malformed query parameters may occur.
    • Resolution: Validate the input format and ensure keys and values are properly set.

Links and References

Discussion