Learning how to make a real RESTful API