RESTFUL API using the codeigniter and Phil rest server master code and doing some modification in order to suite the case of such projects