NuxtN
Nuxt12mo ago
12 replies
Phillip

How can I access the Request object in a Server API route?

I need to access the request of type Request in a server API route. I thought about this; but seems like this is not allowed in a server API route.

const request = useRequestEvent();
Was this page helpful?