Only works on GET Method ?
Closed this issue · 2 comments
raj-saroj-vst-au4 commented
for context am using Laravel 10 as backend and Nuxtjs 3.9 for frontend. Whenever i call an api using GET with authorization headers, it works but, when i call the api changing it to POST it gives error. Was it meant to be used this way or am i missing out on something ?
desod-vn commented
can you describe exactly problem with image, code, flow
raj-saroj-vst-au4 commented
Got it, was sending jwt from nuxt but i also needed to pass x-xsrf-token in the headers. Thanks, closing with this