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 returned from the HttpBin API after performing the DELETE request. The output JSON reflects the server's response, which typically includes details about the received request such as headers, args (query parameters), and data (body content).

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 (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 and correctly formatted.
    • Verify network connectivity and endpoint availability.
    • Check that the selected "Type of Data" matches the intended data format.

Links and References

Discussion