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 When "Type of Data" is set to "Query", this property lets you specify multiple key-value pairs as query parameters to include in the URL.
JSON Object When "Type of Data" is set to "JSON", this property lets you specify multiple key-value pairs as JSON properties to include in the request body.

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, reflecting what was sent.

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

  • Common issues:
    • Incorrectly formatted query parameters or JSON body may cause the API to reject the request or return unexpected results.
    • Network connectivity problems can prevent reaching the HttpBin service.
  • Error messages:
    • HTTP errors like 400 Bad Request may indicate malformed input data.
    • Timeout or network errors suggest connectivity issues.
  • Resolutions:
    • Verify the key-value pairs for correctness and completeness.
    • Ensure the selected "Type of Data" matches the provided input fields.
    • Check internet connection and HttpBin service availability.

Links and References

Discussion