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
endpoint
share
tweet
var axios = require("axios") 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…
Clone and edit this document