title: Issue converting curl request to coldfusion http
body: <p>I have looked at the other posts on this subject but nothing seemed to address this issue.</p>
  
  <p>The following curl request works against our test database:</p>
  
  <pre><code>curl -XGET 'http://larry:larson@collection.aboutdrawing.org/service.php/find/ca_objects?q=*' -d '{"bundles" : { "ca_objects.access" : { "convertCodesToDisplayText" : true }, "ca_objects.status" : { "convertCodesToDisplayText" : true }, "ca_entities.entity_id" : {"returnAsArray" : true }}}'
  </code></pre>
  
  <p>However, my attempt to make this work in CF does not return the fields specified in the -d part of the curl request.</p>
  
  <pre><code>&lt;cfoutput&gt;
  &lt;cfset strFields = {"bundles" : { "ca_objects.access" : { "convertCodesToDisplayText" : true }, "ca_objects.status" : { "convertCodesToDisplayText" : true }, "ca_entities.entity_id" : {"returnAsArray" : true }}}&gt;
      &lt;cfhttp url="http://larry:larson@collection.aboutdrawing.org/service.php/find/ca_objects?q=*" 
      method="get" 
      result="httpResp" 
      timeout="60"
      useragent="#cgi.http_user_agent#"&gt;
      &lt;cfhttpparam type="body" value="#serializeJSON(strFields)#"  &gt;
      &lt;/cfhttp&gt;
     &lt;cfdump var="#httpResp#" &gt; 
  &lt;/cfoutput&gt; 
  </code></pre>
  
  <p>Can anyone offer any insight?</p>
  
  <p>Thank you</p>