-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hello there, first of all, congrats for such a nice work.
Since I can do a curl to rest api im testing if I can remove password from there; it works well from web ui but as I have lots of files with password I would like to use the API and make a script to remove passwords from all files.
Im not going deep in the script here, but I post the api call:
curl -X 'POST' \
'http://192.168.2.43:8087/remove-password?password=actualpdfpassword' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'fileInput=/share/Container/pdf/07.pdf;type=application/pdf' \
-o '/share/Container/pdf/NO_PASS.pdf'
it creates a 0Kb NO_PASS.pdf file
here the command from my actual instance: http://192.168.2.43:8087/swagger-ui/index.html
curl -X 'POST' \
'http://192.168.2.43:8087/remove-password?password=actualpdfpassword' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F '[email protected];type=application/pdf'
what Im doing wrong here? any suggestion?
Running Stirling-PDF from docker BTW
Thanks so much in advance!
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested