Open softsan opened 8 years ago
There are two paths available:
/rooms/<roomid>/files
/files
(requires a parameter called room w/ an id)Here's an example via curl:
curl http://localhost:5000/rooms/**SOMEROOMID**/files --header "authorization: Bearer **TOKENGOESHERE**" -F 'file=@**/path/to/wow.jpg**'
There's also a parameter called post
, which if set to true should also past a url link of the file in chat.
Shouldn't this be a POST call?
Hi, I want to integrate lets chat in Xamarin.forms application. so i am thinking to go through REST API, But i didnt find any method for uploading a file using REST API in documentation.
So can you please guide me how to do that?
Thanks.