Well, i've used axios with Vue a lot, it's more convenient, tbh. But it's an additional dependency, also they are not actively working on currently stalled issues in their repo. Axios has many neat features built-in. But i wonder about the future of this project.
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.
You still have
application/jsonheader, which is affected by CORS.Now, my goto is
axios, which auto-detect body typeapplication/jsonapplication/x-www-form-urlencodedAxios also allowes
raise_for_statusanderrorinterceptors.However,
axiosuses XMLHttpRequest. Not sure if this matters.Well, i've used axios with Vue a lot, it's more convenient, tbh. But it's an additional dependency, also they are not actively working on currently stalled issues in their repo. Axios has many neat features built-in. But i wonder about the future of this project.