News for hackers. Stuff that matters.
Re:Use links not keys to represent relationships in APIs by asaph on Sunday May 12, 2019 @12:50PM (#19892959)
Another thing to keep in mind is that HTTP 301 redirects are typically only followed for GET requests. POST, PUT & DELETE requests will still be broken.
Re:Use links not keys to represent relationships in APIs by M2Ys4U on Sunday May 12, 2019 @06:23PM (#19894965)
That's what 308 is for
Re:Use links not keys to represent relationships in APIs by asaph on Sunday May 12, 2019 @07:56PM (#19895412)
Thanks. I never knew about the HTTP 308 response code. Here is the RFC dated June 2014:

https://tools.ietf.org/html/rfc7238