title: flex httpservice POST headers/XML payload formation
body: <p>I am trying to use the Quickbase API (see reference below) with a POST.  I am having trouble forming it; specifically, I am clueless as to how to format the header (headers="").  I think the XML Payload is correct, but who knows.  Thanks for your help!</p>
  
  <p>Quickbase API reference:</p>
  
  <p>Example XML Request</p>
  
  <p>POST /db/6c5xatxy HTTP/1.0</p>
  
  <p>Content-Type: application/xml</p>
  
  <p>Content-Length: 88</p>
  
  <p>QUICKBASE-ACTION: API_GetRecordInfo</p>
  
  <pre><code>&lt;qdbapi&gt;
  
  &lt;rid&gt;4&lt;/rid&gt;
  
  &lt;ticket&gt;1_6c6482m9_j36_c7mdvh9cmmtn9c8qtr5qchvw33v&lt;/ticket&gt;
  
  &lt;/qdbapi&gt;
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>&lt;fx:Declarations&gt;
    &lt;s:HTTPService id="serviceQBPost" method="POST" 
                   url="https://www.quickbase.com/db/beu45unrw" 
               headers="Content-Type: application/xml Content-Length: 88 QUICKBASEACTION:API_GetRecordInfo"
           result="serviceQBPost_resultHandler(event)"
           fault="serviceQBPost_faultHandler(event)"&gt;
  
               &lt;s:request xmlns=""&gt;
         &lt;qdbapi&gt;
           &lt;rid&gt;4&lt;/rid&gt;
                   &lt;ticket&gt;1_6c6482m9_j36_c7mdvh9cmmtn9c8qtr5qchvw33v&lt;/ticket&gt;
         &lt;/qdbapi&gt;
       &lt;/s:request&gt;
  
  
    &lt;/s:HTTPService&gt;
   &lt;/fx:Declarations&gt;
  </code></pre>