I set a local storage variable that should be the term to search for
Hi,
You can generate response parameters automatically.
To do this open REST Service settings, Test tab, click "Test" and then "Automatically Create Service Response".
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
Hello! Sorry, but could you describe what do you want to achieve in more details?
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...
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.