#axios #param
Add parameters to GET requests
A GET response can contain parameters in the URL, like this: https://site.com/?foo=bar.
With Axios you can perform this by simply using that URL:
axios.get('https://site.com/?foo=bar')
or you can use a params property in the options:
axios.get('https://site.com/', {
params: {
foo: 'bar'
}
})