Loading
Loading
https://api.apifreaks.com/v1.0/pdf/rotate
1. Open the Authorizations dropdown and Verify your API key.
2. Click Run to see the live response here.
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/pdf/rotate"
payload = {}
files=[
('file',('file.pdf',open('/path/to/file.pdf','rb'),'application/pdf'))
]
headers = {
'X-apiKey': ''
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)