Category: xmlhttprequest

Symfony : uploading file, working from Postman, not from Javascript nor cURL

I’m trying to make a request from a Javascript file to an upload file route made with Symfony and API Platform. REQUESTS : With Postman, using the file input under form-data and using the GUI, the upload works (201 response)….