Changed POST to take a PDF object.