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.

Practical examples include:

  • Deleting a resource identified by query parameters.
  • Sending a JSON payload with delete instructions or filters.

Properties

Name Meaning
Type of Data Selects the format of data sent with the DELETE request: "Query" (query parameters) or "JSON" (JSON body).
Query Parameters Key-value pairs to be sent as query parameters in the URL when "Type of Data" is set to "Query". Each pair consists of a key and its corresponding value.
JSON Object Key-value pairs to be sent as JSON properties in the request body when "Type of Data" is set to "JSON". Each pair consists of a key and its corresponding value.

Output

The node outputs JSON data representing the response from the HttpBin API after performing the DELETE request. The structure typically includes details about the request received by HttpBin, such as headers, args (query parameters), and JSON body content if applicable.

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 credential if configured, but it is not mandatory.
  • No additional environment variables are required.

Troubleshooting

  • Common issues:
    • Incorrectly formatted query parameters or JSON body may cause unexpected responses.
    • Network connectivity problems can prevent reaching the HttpBin service.
  • Error messages:
    • HTTP errors returned by HttpBin (e.g., 4xx or 5xx status codes) indicate issues with the request or server.
    • Validation errors if required keys or values are missing in the input properties.
  • Resolutions:
    • Verify the correctness of query parameter keys and values or JSON keys and values.
    • Ensure network access to https://httpbin.org.
    • Check that the "Type of Data" property matches the provided data format.

Links and References

Discussion