2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

Update README.md (#1484)

adding in the necessary require statement (in nodejs).
This commit is contained in:
Jim Lynch
2018-07-05 11:02:41 -04:00
committed by Justin Beckwith
parent 7d9a29ee4c
commit ef2240a666
+2
View File
@@ -53,6 +53,8 @@ Using cdn:
Performing a `GET` request
```js
const axios = require('axios');
// Make a request for a user with a given ID
axios.get('/user?ID=12345')
.then(function (response) {