1 | # node-red-contrib-axios
|
2 |
|
3 | An advanced 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/node-red-contrib-axios.svg?style=flat-square)](https://www.npmjs.org/package/node-red-contrib-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/node-red-contrib-axios/badge.svg)](https://snyk.io/test/npm/node-red-contrib-axios)
|
10 |
|
11 | ## Nodes of this package
|
12 |
|
13 | This package provides two nodes.
|
14 |
|
15 | ### Http endpoint configuration node
|
16 |
|
17 | Define your http endpoints base configuration (base URL, authentication, certificates, proxy) in a configuration node.
|
18 | This is a huge benefit, because you can reuse this configuration in multiple request nodes.
|
19 |
|
20 | ![axios-endpoint](https://raw.githubusercontent.com/steineey/node-red-contrib-axios/master/examples/axios-endpoint.png)
|
21 |
|
22 | ### Http request node
|
23 |
|
24 | Use this node inside your flows to make http requests.
|
25 |
|
26 | ![axios-request](https://raw.githubusercontent.com/steineey/node-red-contrib-axios/master/examples/axios-request.png)
|
27 |
|
28 | ## Example flows
|
29 |
|
30 | Try out this cool [basics flow](https://github.com/steineey/node-red-contrib-axios/blob/master/examples/basics.json).
|
31 |
|
32 | 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).
|
33 |
|
34 | ![axios-flow](https://raw.githubusercontent.com/steineey/node-red-contrib-axios/master/examples/axios-flow.png)
|
35 |
|
36 | ## More documentation
|
37 |
|
38 | All node functions are well documented inside Node-RED.
|