How to get the authentication token for IBM watson STT service?
问题 I am trying to use the Watson Speech To Text service which needs the following command for the websocket Interface as per the documentation var token = {authentication-token}; var wsURI = 'wss://stream.watsonplatform.net/speech-to-text/api/v1/recognize' + '?watson-token=' + token + '&model=es-ES_BroadbandModel'; I have tried this to get the {authentication-token} using curl command on terminal curl -X GET --user "apikey:{apikey}" "https://stream.watsonplatform.net/authorization/api/v1/token