0

我确定我只是在这里遗漏了一些愚蠢的东西,但是有人可以帮助发现我滥用 curl 在这里设置 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"}
4

1 回答 1

3

JSON 中的 true/false 是小写的

于 2016-04-07T20:44:31.080 回答