News for hackers. Stuff that matters.
Re:API Practices If You Hate Your Customers by akvadrako on Thursday December 12, 2019 @03:22AM (#21770251)
In this case it’s a 404 because the query URL pattern doesn’t exist - the most common cause of 404s.
Re:API Practices If You Hate Your Customers by pavel_lishin on Thursday December 12, 2019 @11:29AM (#21773277)
Same thing, no? If I ask for /api/user/238885 and I get a 404 back, it's because the resource "user" with ID of 238885 doesn't exist. If I ask for /api/banana/wharrgarbl, it's because the resource "banana" with the ID of "wharrgarbl" doesn't exist.