Reply to Post
Classic Spy
InfoSysHelp
3 Posts
Member since ‎08.09.2012
Accepted Solution

ATT Speech API quick start

I'm simply trying to run the sample application.  I've updated the web config with:

 

* api key

* secret key

* endpoint:  https://api.att.com/rest/1/SpeechToText

 

I selected speech when I requested the keys

 

I copied the sample code to IIS and gave everyone rights.  The page comes up, I browse to my .wav file and get the following error:

 

{ "error" : "invalid API request" }

 

I know the format of the .wav file is OK because it works on the AT&T sample site.

 

I looked through the forums and I'm not alone....

 

How do I fix this?

Moderator
bs595r
146 Posts
Member since ‎01.13.2012

Re: ATT Speech API quick start

Hello,

 

I believe our samples apps append the URL path for you, so when you specify the endpoint in the config file, it should just be the host: https://api.att.com/

 

I think that will fix the problem.

 

Cheers,

     --brett

Expert Spy
benreaves
13 Posts
Member since ‎08.02.2012

Re: ATT Speech API quick start

iOS sample app code had a bug in the URL for oauth. I can't remember detail but brss.us/attSpeechApi has it pointed out

  • of 1