This project hopes soon to illustrate an efficient and accurate REST server.
Testing REST with curl:
curl -i -H “Accept: application/json” -H “Content-Type: application/json” -X POST -d ‘{“first_name”:“Stacey”,“email”:“stacey@threewisemen.ca”}’ restest.threewisemen.ca/people
curl -i -H “Accept: application/json” -H “Content-Type: application/json” -H “X-Http-Method-Override: PUT” -X POST -d ‘{“last_name”:“Vetzal”}’ restest.threewisemen.ca/people/1
curl -i -H “Accept: application/json” -H “Content-Type: application/json” restest.threewisemen.ca/people/1
curl -i -H “Accept: application/json” -H “Content-Type: application/json” -H “X-Http-Method-Override: DELETE” -X POST -d ‘{“first_name”:“Stacey”,“email”:“stacey@threewisemen.ca”}’ restest.threewisemen.ca/people/1