PDF Compression Service

Send a POST request to /compress-and-upload with either:

Example for file upload:

  curl -X POST -F "pdf=@/path/to/your/file.pdf" http://localhost:10000/compress-and-upload
      

Example for URL download:

  curl -X POST -H "Content-Type: application/json" -d '{"url": "https://example.com/file.pdf"}' http://localhost:10000/compress-and-upload