Added samples of REST API coding in PHP