I want to play with the IBM Watson Speech to Text Service. How do I get the IAM apikey and the IAM url.
On show credentials, I get this - { "apikey": "###########", "iam_apikey_description": "Auto generated apikey during resource-key operation for Instance - #######", "iam_apikey_name": "######", "iam_role_crn": "######", "iam_serviceid_crn": "######", "url": " https://gateway-syd.watsonplatform.net/speech-to-text/api " }
You can also use the same "basic" authorization to try out any Watson service in Curl:
curl -u "apikey:{apikey}" "{url}/{method}"
replace {apikey} with the ### value you see and replace {url} with that value.
For example,
curl -X GET -u "apikey:"###########" "https://stream.watsonplatform.net/speech-to-text/api/v1/models"
See https://cloud.ibm.com/apidocs/speech-to-text#authentication
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.