title: AT&T Dev Prog: Speech to Text Custom Post
body: <p>When I check the documentation on Developer.ATT.com I see this example of the format (Code)I should use:</p>
  
  <pre><code>POST https://api.att.com/speech/v3/speechToTextCustom HTTP/1.1
  Host: api.att.com
  Authorization: Bearer 38C2399A23999
  X-SpeechContext: GrammarList
  Accept: application/json
  Content-length: 7012
  Content-Language: en-us
  Content-type: multipart/x-srgs-audio; boundary=----------------------------46ef33c653e2
  
  ------------------------------46ef33c653e2
  Content-Disposition: form-data; name="x-dictionary"; filename="speech_alpha.pls"
  Content-Type: application/pls+xml
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;lexicon version="1.0" alphabet="sampa" xml:lang="en-US"&gt;
     &lt;lexeme&gt;
         &lt;grapheme&gt;Qiang&lt;/grapheme&gt;
         &lt;phoneme&gt;tS { n&lt;/phoneme&gt;
     &lt;/lexeme&gt;
  &lt;/lexicon&gt;
  
  ------------------------------46ef33c653e2
  Content-Disposition: form-data; name="x-grammar"
  Content-Type: application/srgs+xml
  
  &lt;grammar root="top" xml:lang="en-US"&gt;
    &lt;rule id="CONTACT"&gt;
        &lt;one-of&gt;
          &lt;item&gt;Qiang&lt;/item&gt;
          &lt;item&gt;David&lt;/item&gt;
        &lt;/one-of&gt;
    &lt;/rule&gt;
    &lt;rule id="top" scope="public"&gt;
        &lt;item&gt;
            &lt;one-of&gt;
              &lt;item&gt;text&lt;/item&gt;
              &lt;item&gt;send message to&lt;/item&gt;
            &lt;/one-of&gt;
        &lt;/item&gt;
    &lt;ruleref uri="#CONTACT"/&gt;
    &lt;/rule&gt;
  &lt;/grammar&gt;
  
  
  ------------------------------46ef33c653e2
  Content-Disposition: form-data; name="x-voice"; filename="speech_ex.amr"
  Content-Type: audio/amr
  
        {{...audio data...}}
  
  ------------------------------45ef33c653e2-- 
  </code></pre>
  
  <p>Since I am having trouble getting this to work I am wondering if I should include the dictionary and grammar parts of the post as well? Why?</p>