entitys icon

entitys

Overview

This node performs an HTTP POST request to a specified URL with optional query parameters, JSON body, and additional headers. It is useful for exporting data or interacting with APIs that require POST requests with customizable parameters and headers. For example, it can be used to send data to an external service or trigger an export operation via an API endpoint.

Use Case Examples

  1. Exporting data to a remote API by specifying the endpoint URL, query parameters for filtering, a JSON body with export details, and custom headers for authentication or content type.
  2. Sending a POST request to an API to trigger a data export process with dynamic query parameters and headers.

Properties

Name Meaning
URL The endpoint URL to which the POST request is sent.
Query Parameters Key-value pairs appended to the URL as query parameters for the request.
JSON Body The JSON payload sent in the body of the POST request.
Additional Headers Custom HTTP headers included in the request.

Output

JSON

  • statusCode - HTTP status code returned by the API.
  • headers - HTTP response headers returned by the API.
  • body - The response body returned by the API, parsed as JSON.

Troubleshooting

  • Invalid JSON Body error occurs if the JSON Body input is not valid JSON. Ensure the JSON is correctly formatted.
  • HTTP request failures may occur due to incorrect URL, network issues, or invalid headers. Verify the URL and headers are correct and the endpoint is reachable.

Discussion