Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: axios
node v10.24.1
version:
master
endpoint
share
tweet
var axios = require("axios@0.18.0") const instance = axios.create({ baseURL:'https://postman-echo.com/', url:'/get', params:{ "foo1": "bar1", "foo2": "bar2" } }); const {data} = await instance.request(); console.log(data)
Created from: https://npm.runkit.com/axios
Loading…
no comments
sign in
to comment