RESTful API for carpool