Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to send data in query param in axios in get request
a_moderately_obnoxious_person
Programming language:
Whatever
2021-07-31 21:01:53
0
Q:
how to send data in query param in axios in get request
Thuy
Code:
Whatever
2021-09-06 12:52:23
const res = await axios.get('https://httpbin.org/get', { params: { answer: 42 } });
1
Tags
get
data
request
how
Related
axios vs request
how to make request with axios
headers in axios.get
axios get
axios pass params
axios post urlencoded
axios post body send
how to send header in axios
New to Communities?
Join the community