News for hackers. Stuff that matters.
Re:JSONbin.io – Simple JSON Storage (Beta) by DorothySim on Tuesday May 16, 2017 @04:22AM (#14348144)
I suggest returning 404 Not Found instead of 422 Unprocessable Entity on failed GETs: https://jsonbin.io/b/2342342 as well as Content-Type: application/json instead of current text/html.

"Entity" in "Unprocessable Entity" refers to request body and for GETs there is no request body: http://www.restpatterns.org/HTTP_Status_Codes/422_-_Unproces...

Re:JSONbin.io – Simple JSON Storage (Beta) by mr_ali3n on Tuesday May 16, 2017 @05:42AM (#14348428)
Hey, thanks, yes, I'll be releasing these fixes by tonight.