"无效的配置"通过curl POST请求设置Kik bot

时间:2016-04-07 16:43:00

标签: kik

我确定我在这里只是遗漏了一些愚蠢的东西,但是有人可以帮助发现我在这里设置Kik时滥用卷曲吗?

curl -H "Content-Type: application/json" -d '{"webhook": "http://example.com/kik", "features": {"manuallySendReadReceipts": False, "receiveReadReceipts": False, "receiveDeliveryReceipts": False, "receiveIsTyping": False}}' -u 'username:apikey' 'https://api.kik.com/v1/config'

我得到了这样的答复:

{"message":"Invalid config","error":"BadRequest"}

1 个答案:

答案 0 :(得分:3)

JSON中的true / false是小写