Buffer API: запрещенные ключевые символы - PullRequest
0 голосов
/ 24 июня 2018

После их документации я отправляю следующий запрос POST curl:

curl -X POST -d'{"access_token":"MY_TOKEN","profile_ids":["PROFILE_ID_1","PROFILE_ID_2"],"text":"Look at the forecast"}' https://api.bufferapp.com/1/updates/create.json -H 'Content-Type: application/x-www-form-urlencoded'

Однако я получаю следующий ответ:

Disallowed Key Characters.

Есть идеи, что мне изменить в моем запросе?

1 Ответ

0 голосов
/ 25 июня 2018

Вот как выполнить запрос скручивания:

curl -X POST -d'access_token=MY_TOKEN&profile_ids%5B%5D=ID_1&profile_ids%5B%5D=ID_2&text=Look%20at%20the%20forecast' https://api.bufferapp.com/1/updates/create.json … -H 'Content-Type: application/x-www-form-urlencoded'

Источник: https://twitter.com/buffer/status/1011278225513869314

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...