How to generate secure URL for upload for file upload in Python and PDF.co Web API
PDF.co Web API is the Web API with a set of tools for documents manipulation, data conversion, data extraction, splitting and merging of documents. Includes image recognition, built-in OCR, barcode generation and barcode decoders to decode bar codes from scans, pictures and pdf.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
GenerateSecureUrlForUpload.py
import requests url = "https://api.pdf.co/v1/file/upload/get-presigned-url?name=test.pdf&encrypt=true" payload = {} files = {} headers = { 'x-api-key': '{{x-api-key}}' } response = requests.request("GET", url, headers=headers, data = payload, files = files) print(response.text.encode('utf8'))
VIDEO
ON-PREMISE OFFLINE SDK
See also:
ON-DEMAND REST WEB API
Get Your API Key
See also:
printable version:
PDF-co-Web-API-Python-Python.pdf
PDF-co-Web-API-Python-Python.pdf