Next.js Discord

Discord Forum

Supabase Storage, Prisma, Next Js API Route

Unanswered
Gull Dong posted this in #help-forum
Open in Discord
Gull DongOP
Hello I have next js ( version 13, page route ) where I use Supabase and Prisma. I want to create an upload next js api using these but when I pass the file on the request body ( I am using axios ), the property is empty when I console log it on the next js api. I tried using formData but I am not figuring out how to read the information from formData. Thank you in advence

0 Replies