I've been trying to register a callback URL for use with the speech recognition service but am not succeeding.
I sent the following POST request with body {} and authentication.
https://stream.watsonplatform.net/speech-to-text/api/v1/register_callback?callback_url=https://skaxsqsiq4.execute-api.us-east-1.amazonaws.com/test/watson/callback
I received this response:
{
"code": 400,
"code_description": "Bad Request",
"error": "unable to verify callback url, challenge_string is missing or incorrect"
}
Though calling my endpoint myself echos the challenge string
curl -XGET https://skaxsqsiq4.execute-api.us-east-1.amazonaws.com/test/watson/callback?challenge_string=12345
Returns:
12345