Chris
Chris

Reputation: 535

"Invalid config" while setting up Kik bot through curl POST request

I'm sure that I'm just missing something silly here, but can someone help spot my misuse of curl for setting up Kik here?

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'

I'm getting this response:

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

Upvotes: 0

Views: 398

Answers (1)

Marc Mailhot
Marc Mailhot

Reputation: 480

true/false in JSON are lowercase

Upvotes: 3

Related Questions