Hi, I’m lost.
I trying to figure out what I’m doing wrong at sending the challenge after the twitch callback which I received but I do not understand how exactly.
In the Docs EventSub | Twitch Developers it says I need to return the challenge which have to be a raw string and I’m assuming it is the POST method again.
For example like that?
curl -X POST “https://api.twitch.tv/helix/eventsub/subscriptions”
-d “123456789123456789”
-H “Client-ID: 456789123456789123”
-H “Authorization: Bearer 987654321987654321”
but the answer I get is
{
“error”: “Bad Request”,
“message”: “invalid transport”,
“status”: 400
}