NIMMA Request icon

NIMMA Request

Roep NIMMA API endpoints aan met authenticatie

Overview

This node allows users to make HTTP API calls to custom endpoints with configurable methods (GET, POST, PATCH, DELETE), paths, query parameters, and JSON bodies. It is useful for integrating with external services or APIs that require flexible endpoint calls, such as fetching data, submitting forms, or updating resources.

Use Case Examples

  1. Calling a GET endpoint to retrieve a list of modules.
  2. Sending a POST request with a JSON body to create or update a resource.
  3. Using query parameters to filter or paginate API responses.

Properties

Name Meaning
Method The HTTP method to use for the API call (GET, POST, PATCH, DELETE).
Path The API endpoint path to call, relative to the base URL.
Query Params Key-value pairs to include as query parameters in the API request URL.
Body (JSON) A JSON object to send as the request body, used only for POST and PATCH methods.

Output

JSON

  • responseData - The JSON response data returned from the API call.

Dependencies

  • Requires an API authentication token or key configured in the node credentials to authorize requests.

Troubleshooting

  • Ensure the API endpoint path is correct and accessible.
  • Verify that the HTTP method matches the API's expected method for the endpoint.
  • Check that query parameters are correctly formatted as key-value pairs.
  • For POST and PATCH methods, ensure the JSON body is valid and matches the API schema.
  • Common errors include authentication failures, 404 not found for incorrect paths, and 400 bad request for invalid parameters or body.

Discussion