How can I send a Postman request using form-data? If I try to use raw format works, but I need the form-data to send a image.
My server.js file has the following middlewares:
// Add middleware/settings/routes to express.
app.use(cors());
app.use(express.json());
app.use(express.urlencoded({extended: true}));
app.use('/api', BaseRouter);
app.disable('etag');
Have you implemented the middleware to decode the binary file in Body at BE side?
If you're using ExpressJS. You can use the Lib multer