title: Create API (Web Service) in OctoberCMS
body: <p>I am new to OctoberCMS and i found it very good CMS indeed.</p>
  
  <p>I am creating 2 projects in my local server. One is in Cakephp (<a href="http://localhost/5p_group/" rel="nofollow noreferrer">http://localhost/5p_group/</a>) and the other is in OctoberCMS (<a href="http://localhost/5p_front/" rel="nofollow noreferrer">http://localhost/5p_front/</a>) .</p>
  
  <p>I am using <a href="https://octobercms.com/index.php/plugin/rainlab-pages" rel="nofollow noreferrer">Static Pages</a> plugin in my OctoberCMS project (<a href="http://localhost/5p_front/" rel="nofollow noreferrer">http://localhost/5p_front/</a>) and i have created header and footer menus using <strong>Static Pages Plugin</strong> in it which works fine in my October Project at front end as i am able to display header and footer menus respectively. </p>
  
  <p>I have also created my own plugin using <a href="http://octobercms.com/plugin/rainlab-builder" rel="nofollow noreferrer">builder plugin</a> and i am also able to display data in my OctoberCMS front end. </p>
  
  <p>But now my requirement is to get the header, footer menus and also to get data of my plugin to my Cakephp project <a href="http://localhost/5p_group/" rel="nofollow noreferrer">http://localhost/5p_group/</a> </p>
  
  <p>I want to get the data of both (Header footer menus and My plugin data which stored in my database table).</p>
  
  <p>So i wanted to know is OctoberCMS provides any ability to create apis or webservices in OctoberCMS and ability to call it in my Cakephp project using <code>CURL</code> or something like this <a href="http://localhost/5p_front/getHeaderMenu" rel="nofollow noreferrer">http://localhost/5p_front/getHeaderMenu</a>, <a href="http://localhost/5p_front/getFooterMenu" rel="nofollow noreferrer">http://localhost/5p_front/getFooterMenu</a>,   <a href="http://localhost/5p_front/getPluginData" rel="nofollow noreferrer">http://localhost/5p_front/getPluginData</a> and give response either in JSON or XML ? </p>
  
  <p>Any help or suggestions will be highly appreciated.</p>
  
  <p>Thanks </p>