News for hackers. Stuff that matters.
Re:Show HN: A flat file CRUD API with just one PHP file by ezekg on Saturday March 31, 2018 @07:27PM (#16725723)
Curious--why are you reimplenting HTTP methods? Why not just use POST, PUT, GET and DELETE instead of a custom method query param?
Re:Show HN: A flat file CRUD API with just one PHP file by anonfunction on Saturday March 31, 2018 @10:56PM (#16726442)
One reason is it's a lot easier to demo in person because you just need a browser. I wouldn't design any serious API with query params but I can understand the appeal.