RESTful API for popcorn webapp.