HttpBin icon

HttpBin

Interact with HttpBin API

Actions2

HTTP Verb → DELETE

AI-generated

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.
  • Sending dynamic query parameters or JSON payloads to delete specific resources.
  • Debugging how an API handles different types of input data on DELETE requests.

Example: Deleting a user by sending their ID as a query parameter or within a JSON body.

Properties

Name Meaning
Type of Data Select whether to send data as Query Parameters (queryParameter) or as JSON Body (jsonData).
Query Parameters When "Type of Data" is set to Query Parameters, specify key-value pairs to be sent as URL query parameters.
JSON Object When "Type of Data" is set to JSON, specify key-value pairs to be sent as JSON properties in the request body.

Output

The node outputs the response from the HttpBin API in the json field. This typically includes details about the request received by HttpBin, such as the URL, 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 authentication token if configured, but it is not mandatory.
  • No additional external dependencies are required.

Troubleshooting

  • Issue: Incorrect or missing query parameters or JSON keys may cause unexpected responses.
    • Resolution: Ensure 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: Invalid JSON body format when "Type of Data" is set to JSON.
    • Resolution: Verify that JSON key-value pairs are properly formatted and valid.

Links and References

Discussion