Open
Description
I need upload a excel file but I can't read the filepath of formdata that I send by Postman.
export const uploadSpreadsheet = api(
{ expose: true, method: "POST", path: "/upload", bodyLimit: null },
async ({ filename, files, file, body }: { filename: string, files: string, file: string, body: any }) => {
console.log({ filename, files, file });
}
);
Metadata
Metadata
Assignees
Labels
No labels