Hello.
I’m sent this request to server “http://chat.trivers.ru/api/v1/rooms.upload/GENERAL”
headers:
{“key”:“Content-Type”,“value”:“application/x-www-form-urlencoded”,“description”:""}
{“key”:“X-Auth-Token”,“value”:“lb5fq3w1xxqPSfq62j0lfEWOoJ-2bqGk6RTIAtAti45F”,“description”:""}
{“key”:“X-User-Id”,“value”:“tNNtSr9cM7ZgajKJ6ds”,“description”:""}
body
{“file”: “http://chat.trivers.ru/file-upload/4RtqtDA2CMM5j7tvR/2b27ac38b43b17a8c5eacfc443ce3384_400x400[1].jpeg”}
response
{
“success”: false,
“error”: “File required”
}
Why it’s doesn’t work?