(My java code is below, ty discord limitations)
I have fast api server, which returns this error (req.body.request and req.body.file are null for some reason)
{"detail":[{"type":"missing","loc":["body","request"],"msg":"Field required","input":null,"url":"https://errors.pydantic.dev/2.5/v/missing"},{"type":"missing","loc":["body","file"],"msg":"Field required","input":null,"url":"https://errors.pydantic.dev/2.5/v/missing"}]}
What im doing wrong? I havt found any good documentation how multipart body in okhttp3 should be made, so i think problem could be there...
(part of api doc if u need)