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


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)