Media Files upload using POST request #184
Replies: 1 comment 1 reply
-
Hello @Sohailshah20, We have some documentation on uploading any size file here: https://docs.formkiq.com/docs/how-tos/api-add-documents#adding-document-greater-than-5-mb There are two endpoints, a POST to get an S3 signed URL, Here is the JavaScript code we use to get the signed URL: https://github.com/formkiq/formkiq-client-sdk-javascript/blob/master/build/src/api/DocumentsApi.js#L366 Here is the JavaScript code we use to make the PUT to the S3 signed URL: https://github.com/formkiq/formkiq-client-sdk-javascript/blob/master/build/src/ApiClient.js#L89C49-L89C49 Please let me know if this helps. Thanks! |
Beta Was this translation helpful? Give feedback.
-
In the dashboard, I can upload any media file ( pdfs, word, images. How can I use the POST request to upload any media file?
Beta Was this translation helpful? Give feedback.
All reactions