Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to send form data with Get method in axios?

//assuming instance is your axios instance.

instance.get("/test",{params:{key:value, key1:value1}}).then((data)=>{}).catch((error)=>{})

//this will send a GET request to /test?key=value&key1=value1

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #send #form #data #Get #method
ADD COMMENT
Topic
Name
9+8 =