Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

87
Views
Axios post method is not available

I wanted to implement a post call with axios in my vue application, but the method doesn't exists.

The implementation of axios should be fine, because I can use axios.get(), but unfortunately axios.post() is not available.

enter image description here

In the package.json I got it as dependency:

"dependencies": {
"axios": "^0.21.4",

Does someone know, what I did wrong?

Cheers, Michael

7 months ago · Juan Pablo Isaza
1 answers
Answer question

0

I believe the IDE is looking for a implementation of axios.post() without parameters, which does not exist. The only implementation of axios.post() is with a address parameter and a body parameter. Ie: axios.post("www.mywebsite.com", body)

7 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs