Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
curl -i -X POST "https://push.1c-connect.com/v1/conference/send/image/" \
-H "Accept: application/json" \
-H "Authorization: Basic dGVzdDp0ZXN0" \
-H "Content-Type: multipart/form-data" \
-F "meta={\"author_id\":\"fee6104e-78b5-11e5-80dc-0025904f970f\",\"conference_id\":\"bb5c7328-1886-4a8b-aa00-e00fab828e24\",\"comment\":\"gopher10\",\"file_name\":\"10x10.png\"};type=application/json" \
-F "file=@/tmp/10x10.png"

Ответ сервера

Нет тела

Ошибки

Код

Описание

400

Запрос содержит ошибку

401

Пользователь не авторизован

403

Недостаточно прав

...