lp::Model -api => 1; ... This will tell Pulp to do all the work for you, and generates a basic JSON API. Some of the commands are below: =head3 list Lists all rows found for a particular resultse