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: either Query Parameters or JSON Body. Options: "Query", "JSON".
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 provided.

No binary data output is produced by this node.

Dependencies

  • Requires access to the public HttpBin API endpoint at https://httpbin.org.
  • No mandatory credentials are required, but an optional API key credential can be configured if needed.
  • Network connectivity to the HttpBin service is necessary.

Troubleshooting

  • Common issues:
    • Incorrectly formatted query parameters or JSON body may cause unexpected responses.
    • Network errors if the HttpBin service is unreachable.
  • 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:
    • Ensure all required keys and values are provided correctly.
    • Verify network connectivity.
    • Check the selected "Type of Data" matches the intended data format.

Links and References

Discussion