fixed upload files #57

Merged
vuchaev2015 merged 3 commits from main into main 2025-04-27 16:11:34 -04:00
vuchaev2015 commented 2025-04-27 14:29:24 -04:00 (Migrated from github.com)

could not uploads any files:

if the file was not an image - did not get secure_url, because the upload_resp request returned nothing and you need to use s3_object_url.

But for an image secure_url is returned: if the file is an image, you need to send a request to s3_bucket_url with all the necessary data, then from upload_resp we get secure_url and remove unnecessary data, then use the link for attachment.

could not uploads any files: if the file was not an image - did not get secure_url, because the upload_resp request returned nothing and you need to use s3_object_url. But for an image secure_url is returned: if the file is an image, you need to send a request to s3_bucket_url with all the necessary data, then from upload_resp we get secure_url and remove unnecessary data, then use the link for attachment.
helallao commented 2025-04-27 16:13:01 -04:00 (Migrated from github.com)

Appreciated!

Appreciated!
DevLord-Avijit (Migrated from github.com) approved these changes 2025-04-28 06:07:12 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
helallao/perplexity-ai!57
No description provided.