The POST method is not supported for this route

laravelでAPIを作っているときによく出るエラー。

大体パラメータの渡し方とかがおかしいのよね

バックエンド側のエンドポイントを設定するapi.php

Route::post('password/reset/{token}'

になってて
送るフロント側が

axios.post('/api/password/reset/' , this.token)

になっててパラメータ送れてなかったり

axios.post('/api/password/reset/' + this.token)

カンマじゃなくてプラスね