add POST pdfs to create a pdf and return json