How to Respond to a challenge request? (Webhook Events)

According to Twitch Docs, I have to respond to a challenge request with the following:

Is the header Content-Type supposed to be like:
Content-Type: <challenge.size()>
??

When I test with the CLI, it says it is expecting:
Content-Type: text/plain

What is the Content-Type value?

This is a typo in the docs

Content-Type: text/plain
Content-Length: whateverthelengthofthechallenge

Most libs will add content-length for you automagically

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.