I have the below url with headers and the fields I need to use
https://aaa.bbbb.co/last\
-H "Authorization: last <token>" \
-H "App-Version: 5.0.0" \
-H "Content-Type: application/json"
I'm not sure, how to put this is in javascript and get data
Any suggestions
Thanks
Malla
Hey MR,
You might be looking for how to send an HTTP request using JavaScript. Below is a link that might be useful to get you started. I hope it helps!
Popular ways to make HTTP requests in JS from FreeCodeCamp