title: Return JSOn data from a REST API in ColdFusion
body: <p>I am trying to fetch JSON data from a ColdFusion site using a GET call and use the output JSON in an Android app. Wanting to start with a simple hello world component, but it is throwing error when accessed via browser. "Unsupported operation"</p>
  
  <p>The cfc content is </p>
  
  <pre><code>&lt;cfcomponent hint="A first CFC"&gt;
      &lt;cffunction name="getValue" returntype="String" access="public"&gt;
          &lt;cfreturn "Hello World"&gt;
      &lt;/cffunction&gt;
  &lt;/cfcomponent&gt;
  </code></pre>
  
  <p>Where am I going wrong? Please guide.</p>
  
  <p>Can someone provide link to a good example/tutorial for this please.</p>