Codeigniter with RESTful API commit.