Curl 缓冲区API:不允许的关键字符

Curl 缓冲区API:不允许的关键字符,curl,Curl,接下来,我将发送以下POST CULL请求: 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' curl

接下来,我将发送以下POST CULL请求:

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'
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'
不过,我得到以下回应:

Disallowed Key Characters.

您知道我应该在请求中更改什么吗?

以下是如何执行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'
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'
资料来源: