You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
It works well from Postman when I manually upload a file in the Postman UI. However, I'm trying to make it possible from my backend, using file URLs that are generated from my file manager.
On Postman, I have have tried doing like that (https://ibb.co/5ktn2k0) but it seems that the file is not recognized - I get a response with "content_type": "application/octet-stream", and I can't use the response to send in conversation messages.
Hey there! I'm trying to upload media files to Twilio in order to use them in conversation messages, as described there: https://www.twilio.com/docs/conversations/media-support-conversations#sending-a-media-message
It works well from Postman when I manually upload a file in the Postman UI. However, I'm trying to make it possible from my backend, using file URLs that are generated from my file manager.
On Postman, I have have tried doing like that (https://ibb.co/5ktn2k0) but it seems that the file is not recognized - I get a response with "content_type": "application/octet-stream", and I can't use the response to send in conversation messages.
Also, in my backend, I have tried this (https://github.com/TwilioDevEd/api-snippets/blob/master/conversations/send-media/sendMedia.js) but the error says that the fuction prepareMessage() is doens't exist on conversation
Can anyone help? Thanks a lot!
The text was updated successfully, but these errors were encountered: