title: getting data from address bar to make mysql query
body: <p>qIn rest API this short of URL appears:</p>
  
  <pre><code>http://api.example.com/v1/curated-content?location=india&amp;contenttype=image&amp;category=celeb&amp;orderby=popularity&amp;apikey=15svzH8qSy5yQuF52b068a40a69e
  </code></pre>
  
  <p>in my database I have content like location, category, apikey,contenttype etc. </p>
  
  <p>How can I fetch these data when user makes request like in aboce URL?</p>