1
GTom
67d

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
    Why json? Isn't it too verbose?
  • 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.
  • 0
    @GTom but verbosity adds traffic
Your Job Suck?
Get a Better Job
Add Comment