Fiverr will be undergoing scheduled maintenance for approximately 5 hours starting at 12am EST on Sunday, Dec. 11. We will provide status updates during the maintenance event on our Facebook and Twitter channels.
There are a number of frame works available and the one I chose is SLIM (it is a micro framework that helps you efficiently write powerful web services).
This tutorial gives you complete examples of creating full Restful API using multiple HTTP methods like GET, POST, PUT and DELETE. You would get the output in JSON and create a user data for all options, download code available.