NuxtN
Nuxt2y ago
Alberto

Fetch method Not Allowed, but works in other clients

I need to do a GET to have a list, I need the authoritation with cookie.
When I use Rest Client or Thunder Client I have the 200. great
But from my defineEventHandler in my server/api in Nuxt 3, when I do the fetch I got the specific "Request failed with status 405". And GET works both in the 2 other clients. What do you see?
image.png
Was this page helpful?