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 | [![npm version](https://img.shields.io/npm/v/axios.svg?style=flat-square)](https://www.npmjs.org/package/node-red-contirb-axios)
|
7 | [![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=node-red-contrib-axios&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=node-red-contrib-axios)
|
8 | [![npm downloads](https://img.shields.io/npm/dm/node-red-contrib-axios.svg?style=flat-square)](https://npm-stat.com/charts.html?package=node-red-contrib-axios)
|
9 | [![Known Vulnerabilities](https://snyk.io/test/npm/axios/badge.svg)](https://snyk.io/test/npm/node-red-contrib-axios)
|
10 |
|
11 | ## Advanvantages of this node
|
12 |
|
13 | This extension separates endpoint base configuration from endpoint execution.
|
14 | Define your api endpoint in a configuration node with a base URL, authentication, TLS and proxy.
|
15 | Use this endpoint configuration in multiple request nodes.
|
16 |
|
17 | ### Endpoint configuration node
|
18 |
|
19 | ![axios-endpoint](https://raw.githubusercontent.com/steineey/node-red-contrib-axios/master/examples/axios-endpoint.png)
|
20 |
|
21 | ### Request node
|
22 |
|
23 | ![axios-request](https://raw.githubusercontent.com/steineey/node-red-contrib-axios/master/examples/axios-request.png)
|
24 |
|
25 | ## Example flows
|
26 |
|
27 | Try out this cool [basics flow](https://github.com/steineey/node-red-contrib-axios/blob/master/examples/basics.json).
|
28 |
|
29 | Or learn how to use multipart/form-data with this [flow](https://github.com/steineey/node-red-contrib-axios/blob/master/examples/form-data.json).
|
30 |
|
31 | ![axios-flow](https://raw.githubusercontent.com/steineey/node-red-contrib-axios/master/examples/axios-flow.png)
|
32 |
|
33 | ## More documentation
|
34 |
|
35 | All node functions are well documented inside Node-RED. |
\ | No newline at end of file |