title: Assigning outbound HTTP query parameters from JSON fields
body: <p>I am mapping an inbound HTTP POST request to an outbound GET using Mule 3.4. </p>
  
  <p>The POST body is JSON and I want to take the fields from the JSON content and map them to query string parameters. Currently I simply transform the JSON to a map and have an expression in my path of the outbound http endpoint:</p>
  
  <pre><code>&lt;http:outbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="test?tax=#[payload.taxonomy]" method="GET" doc:name="HTTP"/&gt;
  </code></pre>
  
  <p>This is fine but I wondered if there is smarter way.  Ideally I was hoping for something like setting an outbound property to the value of the map and Mule automatically converting whatever key-value pairs were in there into query params for the outbound request.</p>