You can use Curl to send requests to QOPPA PDF REST API.

Here’s a sample curl request for adding a new page to an existing PDF (in this case the document is “alphabets.pdf” and is present at the root of the server:

curl -X POST http://host:port/qoppapdf/v1/documents/alphabets.pdf/pages -H "Content-Type:multipart/form-data" -F "pageAction={\"NewPageAction\": {}};type=application/json"