Quick and dirty Rest Client for php