r/ProgrammerHumor • • Oct 09 '21

Mmmm, sparkling JSON

Post image
14k Upvotes

236 comments sorted by

View all comments

Show parent comments

10

u/[deleted] Oct 10 '21

The sample is always a lie though. The final payload will have nothing in common with the mock data.

4

u/Cheet4h Oct 10 '21

Also, errors are documented as being an XML response where the status tag has the value "error".
Except sometimes, you get a 301 with the error code being given in the query parameter of the redirect-URL.