want to join us? register, it's easy | help
category icon

Towards RESTful PHP - 5 Basic Tips

in PHP added by goodphptutorials, on 11/12/2008 curl framework restful

As we entered a programmable web of applications with APIs the decision to ignore HTTP gave us problems we're still dealing with today. We have an Internet full of applications with different interfaces (GET /user/1/delete vs. POST /user/delete {id=1}). With REST we can say /user/1 is a resource and use the HTTP DELETE verb to delete it.

comment save report
 
to add comments, create a free account, or sign in
no comments