home.social

#httprestapi — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #httprestapi, aggregated by home.social.

  1. If you publish an #HTTPRestAPI, and my request can't be fulfilled due to an error, then don't just send back a random web page with an error message. Your documentation said nothing about random web pages. Thus, my #API client software expects a response of the mime type I requested: XML, JSON, plain text. Not HTML. Not ever. Please send back an error message in the requested mime type and document it. Looking at you, #BigCommerce.