[Vuejs]-Send and get parameter between vuex and node js

0👍

your code screenshot

Please check on above screenshot link.
I am not sure what is the value you want to pass to params. But according to screenshot above, looks like you are passing a string to params.

According to axios documentation https://github.com/axios/axios/blob/master/README.md

Params “Must be a plain object or a URLSearchParams object”

axios documentation screenshot

So, try passing an object instead of string to params.

Leave a comment