Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
curl -v "http://api.aspose.cloud/v2.0/pdf/decrypt?outPath=test-out.pdf&
password=cGFzc3dvcmQxMg%3D%3D" -X PUT
--data-binary @d:\tester12345.pdf
-H "Content-Type: application/octet-stream"
-H "Accept: application/json"
-H "Authorization: Bearer ur73UWyPXc8UGGTu0PoZhNPHMKlwQbD5mE4K6ss6js_BStTs7dCqOj5cptTuF6iz8dZ7P6uebTW8DTFNwdYNrbF0UFh2DukehHPyKR8sIgZwYdB1eki6nX9S2Co9I9fK0MSmkKDD7emjLpeY25_gyggwLt4t3Jx4D1ljkFV53R2uuDnVZmWLmp5YQH8WY-bsGMp8e9Rj9cp1X0hiA9qN79u4JjXMtnp4oR4AkoqdI2-mJGpk7njnRJk1NNAXIkO-iLQbh_Y8FC5pMIXOfg8yTVLkBYDrdh3wkpP5RW0_sJxkMgAoozCVT8T5Gg7KWDbDpCJJ-O5cr99MeVP7eLY2ETOpUFkwOpsXocmVh4DVNRCz-nRr2HfpXqaDWgMWFsqfacnSQwW611xKl-v_iyDy4yr4hqzOE3Hyf4pvGlw-OS-jHhM5"
curl -v "http://api.aspose.cloud/v2.0/pdf/PdfWithAnnotations.pdf/encryptoutPath=newFile.pdf&
userPassword=cGFzc3dvcmQxMg==&
ownerPassword=cGFzc3dvcmQxMg==&
cryptoAlgorithm=AESx256"
-X POST -H "Content-Type: application/json" -H "Accept: application/json"
-H "Authorization: Bearer ur73UWyPXc8UGGTu0PoZhNPHMKlwQbD5mE4K6ss6js_BStTs7dCqOj5cptTuF6iz8dZ7P6uebTW8DTFNwdYNrbF0UFh2DukehHPyKR8sIgZwYdB1eki6nX9S2Co9I9fK0MSmkKDD7emjLpeY25_gyggwLt4t3Jx4D1ljkFV53R2uuDnVZmWLmp5YQH8WY-bsGMp8e9Rj9cp1X0hiA9qN79u4JjXMtnp4oR4AkoqdI2-mJGpk7njnRJk1NNAXIkO-iLQbh_Y8FC5pMIXOfg8yTVLkBYDrdh3wkpP5RW0_sJxkMgAoozCVT8T5Gg7KWDbDpCJJ-O5cr99MeVP7eLY2ETOpUFkwOpsXocmVh4DVNRCz-nRr2HfpXqaDWgMWFsqfacnSQwW611xKl-v_iyDy4yr4hqzOE3Hyf4pvGlw-OS-jHhM5"
-d {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.