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

  • Issue: Incorrect or missing query parameters or JSON body keys/values may cause unexpected responses or errors.
    • Resolution: Ensure all required keys and values are correctly specified according to the API expectations.
  • Issue: Network connectivity problems can prevent reaching the HttpBin service.
    • Resolution: Verify internet connection and that https://httpbin.org is reachable.
  • Issue: If the node returns an error related to content type or malformed JSON,
    • Resolution: Confirm that the "Type of Data" property matches the data format being sent and that JSON is well-formed.

Links and References

Discussion