Page 1 of 2

Search not working with request parameters...

Posted: Tue Sep 17, 2013 6:11 pm
by Krs Joseph

I trying to do a search query but I keep getting no results from my query

the full link for search is http://oitapiv3.azurewebsites.net/api..., I created a new service did a "GET" on with this url in the settings "http://oitapiv3.azurewebsites.net/api...=" and in the request field using "term" as name and "tacos" as the default value... when I run the test I got a successful test but no search results come back...

I know my query and url are good so what is the problem? does appery bind request parameters differently?


Search not working with request parameters...

Posted: Tue Sep 17, 2013 6:20 pm
by Maryna Brodina

Hello! Please try to use the following URL:
codehttp://oitapiv3.azurewebsites.net/api/search/code


Search not working with request parameters...

Posted: Tue Sep 17, 2013 6:41 pm
by Krs Joseph

ok thanks! how would I bind the ability to query this now on a the search field on here where when the user enters a term in the search bar how would I call this service? and spit back out results to a search results page...Image


Search not working with request parameters...

Posted: Tue Sep 17, 2013 6:45 pm
by Maryna Brodina

Search not working with request parameters...

Posted: Tue Sep 17, 2013 8:05 pm
by Krs Joseph

This doesn't really answer my question, ok so am I to invoke $('.mySearchInput').textinput();

but then how am i to add the service to that search field and not the entire page?


Search not working with request parameters...

Posted: Tue Sep 17, 2013 9:06 pm
by Maryna Brodina

Search input component has "Search" event, you can invoke your service on that event. Did you set request parameters?


Search not working with request parameters...

Posted: Tue Sep 17, 2013 9:36 pm
by Krs Joseph

Yes..
Image This is how I have it set up


Search not working with request parameters...

Posted: Wed Sep 18, 2013 1:12 am
by Alena Prykhodko

Please share screen shot of Response mapping.


Search not working with request parameters...

Posted: Fri Sep 20, 2013 11:43 am
by Krs Joseph

I have not set up the response page/ search results page because I cannot pass the search term to it....


Search not working with request parameters...

Posted: Fri Sep 20, 2013 12:49 pm
by Krs Joseph

Here are the services I have invoked on the page with the search bar, I want to pass the term to another page to populated it with the results Image