Closed lascimmia closed 1 year ago
You have to put the file path in url, I will show you an example, I use linux and you must adapt to your operating system
curl --location -g --request POST 'localhost:8000/chats/send?id=test' \
--header 'Content-Type: application/json' \
--data-raw '{
"receiver": "123456789",
"message": {
"image": {
"url": "/home/gabriel/Downloads/download.png"
},
"caption": "My logo"
}
}'
Put the spaces correctly, it can make a difference so that an error does not occur
I'm on Windows, and writing the full path seems not working, the same as relative path
try to use docker with linux image
I'm on Windows, and writing the full path seems not working, the same as relative path
Were you successful in uploading local files?
I'm on Windows, and writing the full path seems not working, the same as relative path
Were you successful in uploading local files?
Yes You speak portuguese?
I'm on Windows, and writing the full path seems not working, the same as relative path
Were you successful in uploading local files?
Yes You speak portuguese?
yes
I'm on Windows, and writing the full path seems not working, the same as relative path
Were you successful in uploading local files?
Yes You speak portuguese?
yes
Pois é Pedro, baixa os arquivos e utiliza o curl, ou outra tecnologia, pra fazer as requisições, mas primeiro executa o programa com o nodejs
I'm on Windows, and writing the full path seems not working, the same as relative path
Were you successful in uploading local files?
Yes You speak portuguese?
yes
Pois é Pedro, baixa os arquivos e utiliza o curl, ou outra tecnologia, pra fazer as requisições, mas primeiro executa o programa com o nodejs
Essencial usar o Linux ou uma imagem docker, já tem um servidor?
Could you try it using the latest version?
Closing this due to inactivity
Thanks a lot for your great work! I'm not able to send local image in a message; I can only use a internet URL. Is it my fault or an issue?