2 Replies Latest reply on May 4, 2011 3:31 PM by BigZ2011

    How to pass variables to an HTTPService?

    BigZ2011

      Hello, everyone.  Could someone please tell me how to pass variables to a URL within an HTTPService?  For example, let's say I want to take the value of a text box and insert it into the HTTPService's URL string.  Many, many thanks in advance!

       

       

       

       

      <fx:Declarations>

       

       

      <!-- Place non-visual elements (e.g., services, value objects) here -->

       

       

      <s:HTTPService id="DirectionGetter"

      resultFormat="

      text" url="http://DomainName.com/subfolder/foo:FirstParmeterGoesHere;+bar:SecondParameterGoesHere.js"

      result="ParseJSONDirections(event)"

      showBusyCursor="

      true">

       

       

       

      </s:HTTPService>