1 | # node-red-contrib-axios
|
2 |
|
3 | A http request node for Node-RED.
|
4 | Based on the [Axios](https://www.npmjs.com/package/axios) http client.
|
5 |
|
6 | ## Why this node and not the built-in http request node by Node-RED?
|
7 |
|
8 | This extension separates endpoint base configuration from endpoint execution.
|
9 | Define your api endpoint in a configuration node with a base URL, authentication, TLS and proxy.
|
10 | Use this endpoint configuration in multiple request nodes.
|
11 |
|
12 | ### Config node
|
13 |
|
14 | ![axios-config](https://github.com/steineey/node-red-contrib-axios/blob/master/examples/axios-config.png)
|
15 |
|
16 | ### Request node
|
17 |
|
18 | ![axios-request](https://github.com/steineey/node-red-contrib-axios/blob/master/examples/axios-request.png)
|
19 |
|
20 | ## Example flow
|
21 |
|
22 | Try out this cool [example flow](https://github.com/steineey/node-red-contrib-axios/blob/master/examples/axios-flow.json).
|
23 |
|
24 | ![axios-flow](https://github.com/steineey/node-red-contrib-axios/blob/master/examples/axios-flow.png)
|
25 |
|
26 | ## More documentation
|
27 |
|
28 | All node function are documented inside Node-RED. |
\ | No newline at end of file |