News for hackers. Stuff that matters.
Re:Most RESTful APIs Aren't RESTful by notpushkin on Wednesday July 09, 2025 @11:18AM (#44511108)
Or probably just an Allow header on a response to another query (e.g. when fetching an object, server could respond with an Allow: GET, PUT, DELETE if the user has read-write access and Allow: GET if it’s read-only).
Re:Most RESTful APIs Aren't RESTful by 9dev on Wednesday July 09, 2025 @03:57PM (#44514181)
That’s a neat idea actually, I think I’ll need to read up on the semantics of Allow again…. There is no reason you couldn’t just include it with arbitrary responses, no?
Re:Most RESTful APIs Aren't RESTful by notpushkin on Thursday July 10, 2025 @02:07AM (#44517795)
I don’t see why not!