cURL
curl --request POST \ --url https://service-sandbox.tazapay.com/v3/metadata/doc/upload \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "file_name": "<string>" } '
200
New Example
""
This lets you generate a temporary pre-signed URL to upload your document
curl -X PUT "https://your-presigned-url.s3.amazonaws.com/path?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=..." \ -H "Content-Type: application/pdf" \ --upload-file /path/to/document.pdf
Content-Type
application/pdf
image/png
image/jpeg
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Name of the file
OK
Was this page helpful?