HttpBin icon

HttpBin

Interact with HttpBin API

Actions2

Overview

This node interacts with the HttpBin API, specifically performing HTTP DELETE requests. It allows users to send DELETE requests with either query parameters or JSON body data. This is useful for testing and debugging HTTP DELETE operations against an API endpoint, simulating how a server would handle such requests.

Common scenarios include:

  • Testing RESTful APIs that require DELETE requests with specific query parameters.
  • Sending JSON payloads in DELETE requests where the API expects a body.
  • Debugging and inspecting responses from endpoints that support DELETE methods.

Example: Deleting a resource identified by query parameters or sending metadata in the JSON body to specify what should be deleted.

Properties

Name Meaning
Type of Data Select the type of data to send with the DELETE request. Options: Query (query parameters), JSON (JSON body).
Query Parameters When "Type of Data" is set to Query, specify one or more key-value pairs as query parameters to include in the URL.
JSON Object When "Type of Data" is set to JSON, specify one or more key-value pairs as JSON properties to include in the request body.

Output

The node outputs the response from the HttpBin API in the json field. The structure typically reflects the HTTP response returned by HttpBin for the DELETE request, including details such as the URL requested, headers sent, and any data received by the server.

If binary data were involved (not indicated here), it would represent raw response content, but this node primarily deals with JSON responses.

Dependencies

  • Requires access to the public HttpBin API at https://httpbin.org.
  • Optionally uses an API authentication token if configured, though not mandatory.
  • No additional external dependencies beyond standard HTTP request capabilities.

Troubleshooting

  • Incorrect query parameters or JSON body format: Ensure keys and values are correctly specified; missing required keys may cause unexpected API errors.
  • Network issues: Failure to reach https://httpbin.org will result in connection errors.
  • Invalid HTTP method usage: Although this node targets DELETE, using incompatible data types or malformed requests might cause API errors.
  • API rate limits or downtime: HttpBin is a public service; heavy use or outages can affect node operation.

Links and References

Discussion