Typo alert :)
axios.get('requestUrl)
PS. Im pretty sure there is a way to pass query params in form of JSON, instead of keeping URLs long and dirty. Read more: github.com/axios/axios#request-config
Ouh! And it seems like you can highlight js code in your post by adding js (and shell) to triple backticks - it should be easier to read.
js
shell
Thanks for calling this out.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Typo alert :)
PS. Im pretty sure there is a way to pass query params in form of JSON, instead of keeping URLs long and dirty.
Read more: github.com/axios/axios#request-config
Ouh! And it seems like you can highlight js code in your post by adding
js
(andshell
) to triple backticks - it should be easier to read.Thanks for calling this out.