<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Sam, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Rest-API-Webservices-Search-function/m-p/1066470#M56423</link>
    <description>&lt;P&gt;Hi Sam,&lt;/P&gt;

&lt;P&gt;Where doesn't work? In Emulator, in a device? If it works on browser the problem probably is that the other option is not getting the php using the url &lt;A href="http://localhost/api.php" target="_blank"&gt;http://localhost/api.php&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For more info look at point #2 in this great doc:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.intel.com/evangelists/2015/12/31/five-useful-tips-on-getting-started-building-cordova-mobile-apps-with-the-intel-xdk/" target="_blank"&gt;http://blogs.intel.com/evangelists/2015/12/31/five-useful-tips-on-getting-started-building-cordova-mobile-apps-with-the-intel-xdk/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;Diego&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2016 13:12:35 GMT</pubDate>
    <dc:creator>Diego_Calp</dc:creator>
    <dc:date>2016-07-20T13:12:35Z</dc:date>
    <item>
      <title>Rest API Webservices Search function</title>
      <link>https://community.intel.com/t5/Software-Archive/Rest-API-Webservices-Search-function/m-p/1066469#M56422</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have created a Rest API webservices to pull data from my database.&lt;/P&gt;

&lt;P&gt;And I have placed a search box so that user can perform a search.&lt;/P&gt;

&lt;P&gt;This is how to search with parameters in the URL;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;&lt;A href="http://localhost/api.php?name=super&amp;amp;private_key=e4ed5acb3a53e3935a1a8f1676fb111de2a4842a" target="_blank"&gt;http://localhost/api.php?name=super&amp;amp;private_key=e4ed5acb3a53e3935a1a8f1676fb111de2a4842a&lt;/A&gt;&lt;/PRE&gt;

&lt;P&gt;After create input box I have changed the URL call by dragging the input box to;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;&lt;A href="http://localhost/api.php?name={{uib_w_7::value}}&amp;amp;private_key=e4ed5acb3a53e3935a1a8f1676fb111de2a4842a" target="_blank"&gt;http://localhost/api.php?name={{uib_w_7::value}}&amp;amp;private_key=e4ed5acb3a53e3935a1a8f1676fb111de2a4842a&lt;/A&gt;&lt;/PRE&gt;

&lt;P&gt;Where {{uib_w_7::value}} is the value user key in, in the input box.&lt;/P&gt;

&lt;P&gt;This doesn't work.&lt;/P&gt;

&lt;P&gt;However when I tried in browser directly it works. What am I missing here?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2016-07-20 at 2.40.52 PM.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8983iDFE34BB5496621C9/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screen Shot 2016-07-20 at 2.40.52 PM.png" alt="Screen Shot 2016-07-20 at 2.40.52 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 06:53:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Rest-API-Webservices-Search-function/m-p/1066469#M56422</guid>
      <dc:creator>Sam_Suresh</dc:creator>
      <dc:date>2016-07-20T06:53:57Z</dc:date>
    </item>
    <item>
      <title>Hi Sam,</title>
      <link>https://community.intel.com/t5/Software-Archive/Rest-API-Webservices-Search-function/m-p/1066470#M56423</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;

&lt;P&gt;Where doesn't work? In Emulator, in a device? If it works on browser the problem probably is that the other option is not getting the php using the url &lt;A href="http://localhost/api.php" target="_blank"&gt;http://localhost/api.php&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For more info look at point #2 in this great doc:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.intel.com/evangelists/2015/12/31/five-useful-tips-on-getting-started-building-cordova-mobile-apps-with-the-intel-xdk/" target="_blank"&gt;http://blogs.intel.com/evangelists/2015/12/31/five-useful-tips-on-getting-started-building-cordova-mobile-apps-with-the-intel-xdk/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 13:12:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Rest-API-Webservices-Search-function/m-p/1066470#M56423</guid>
      <dc:creator>Diego_Calp</dc:creator>
      <dc:date>2016-07-20T13:12:35Z</dc:date>
    </item>
    <item>
      <title>Hi Diego,</title>
      <link>https://community.intel.com/t5/Software-Archive/Rest-API-Webservices-Search-function/m-p/1066471#M56424</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;

&lt;P&gt;I'm testing in emulator.&lt;/P&gt;

&lt;P&gt;This URL is working fine in emulator and Firefox (direct access to URL);&lt;/P&gt;

&lt;PRE&gt;&lt;A href="http://localhost/api.php?name=super&amp;amp;private_key=e4ed5acb3a53e3935a1a8f1676fb111de2a4842a" target="_blank"&gt;http://localhost/api.php?name=super&amp;amp;private_key=e4ed5acb3a53e3935a1a8f1676fb111de2a4842a&lt;/A&gt;&lt;/PRE&gt;

&lt;P&gt;But this one which include user input doesn't show any output in emulator.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE class="plain"&gt;http:&lt;/CODE&gt;&lt;CODE class="comments"&gt;//localhost/api.php?name={{uib_w_7::value}}&amp;amp;private_key=e4ed5acb3a53e3935a1a8f1676fb111de2a4842a&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This&lt;CODE class="comments"&gt; {{uib_w_7::value}} refers to input box value. &lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="comments"&gt;So my question is how to get user input is passed to the url? I dragged the inputbox to webservices (as per documentation) and can be seen in my first post above. &lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="comments"&gt;Any help appreciated.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="comments"&gt;Thanks&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 23:34:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Rest-API-Webservices-Search-function/m-p/1066471#M56424</guid>
      <dc:creator>Sam_Suresh</dc:creator>
      <dc:date>2016-07-20T23:34:26Z</dc:date>
    </item>
  </channel>
</rss>

