1
GTom
6y

If someone tries using "multipart/form-data" as only content type for their PUBLIC API ENDPOINTS again I am going to find them and choke them to death.
And if your documentation says you are using something else (application/x-www-form-urlencoded) I am doing it twice.
JSON apis should be standard.

EDIT: I had to fire up BurpSuite proxy, after almost an hour I accidentally switched the body type - voilà

Comments
  • 0
    @irene Well, I come from python, I am used to explicit verbosity.

    Multipart should be form and/or files, url-encoded forms, public (rest) API where multitude of consumers can connect should use something verbose.
Add Comment