A Node-RED node for making API calls with flexible configuration options
- Make HTTP requests to external APIs
- Support for various authentication methods (API keys, tokens)
- Flexible configuration of API endpoints
- Dynamic value support from message properties, flow, or global context
- Easy integration with other Node-RED nodes
Run the following command in your Node-RED user directory (typically ~/.node-red):
npm install node-red-contrib-api-call
- Add the "API" node to your flow from the "api" category
- Configure the API endpoint and authentication details
- Connect it to other nodes as needed
- API URL: The endpoint URL to call
- Method: HTTP method (GET, POST, etc.)
- Authorization: API key or token configuration
-
Property: Message property to store the response (default:
msg.payload
)
MIT