RunKit + npm: axios

node v10.24.1
endpointsharetweet
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…