Restful API for Simple PDF generation