Krs Joseph
Posts: 0
Joined: Wed Jul 24, 2013 6:15 pm

Search not working with request parameters...

I set a local storage variable that should be the term to search for Image

Krs Joseph
Posts: 0
Joined: Wed Jul 24, 2013 6:15 pm

Search not working with request parameters...

and finally the response from the search Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Search not working with request parameters...

Hi,

You can generate response parameters automatically.
To do this open REST Service settings, Test tab, click "Test" and then "Automatically Create Service Response".

Krs Joseph
Posts: 0
Joined: Wed Jul 24, 2013 6:15 pm

Search not working with request parameters...

Hi I did that already, what do I have to do to get the search term submitted from the bar to be the term for the response

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Search not working with request parameters...

Hello! Sorry, but could you describe what do you want to achieve in more details?

Krs Joseph
Posts: 0
Joined: Wed Jul 24, 2013 6:15 pm

Search not working with request parameters...

I want a user to be able to search for whatever the term may be on this url http://oitapiv3.azurewebsites.net/api... with the term being entered into the search bar and then it goes to a page with the search results...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Search not working with request parameters...

Hello!
1) Add Input fiels to enter term for search;
2) On any event, for example Click on button add two events - set local storage variable from component with term you enter and navigating to search results page (don't change events order).
3) On page search results add needed service, in request mapping map parameter term from localStorage variable.
4) On search results page show event call the service.

Return to “Issues”