Skip to content

Help with API #268

Answered by Frooodle
gboxxx asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry i am being to improve my documentation as i move to a dedicated doc website....
As for your API issue most people just use a curl command
You can use it like talked about here #131

So
curl -X 'POST'
'http://192.168.2.43:8087/remove-password?password=actualpdfpassword'
-H 'accept: /'
-H 'Content-Type: multipart/form-data'
-F 'fileInput=@02.PDF;type=application/pdf'

or

curl --location '192.168.2.43:8087/remove-password' --form 'fileInput=@"/mypath/myfile.pdf"' --form 'password="pdf_password"' --output '/mypath/myfile_no_password.pdf'

depending on what format you want to use, both work

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Frooodle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants