cps-user3
cps-user39mo ago

How to call useQuery and useMutation in app/api/route.ts?

Hello. Is there a way to use queries and mutations in app/api/route.ts? I am creating an API with Next.js.
2 Replies
cps-user3
cps-user3OP9mo ago
Oh, thank you so much!!!

Did you find this page helpful?