Using RESTful API with MySQL examples