entitys icon

entitys

Overview

This node performs an HTTP POST request to a specified URL with optional query parameters, a 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 API endpoint for data export or integration purposes.

Use Case Examples

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

Properties

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

Output

JSON

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

Dependencies

  • Requires an HTTP request helper to perform the POST request.

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.
  • If query parameters or headers are not set correctly, the API may return errors or unexpected results. Double-check parameter names and values.

Discussion