Last active
August 22, 2019 10:34
-
-
Save mmsajjad-aspose/4c1b1a6e63ac6ae54192ba79ee82a5d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment