yuuvis® RAD Q&A

0 votes
by (590 points)

Hello OS-Team,

I have a problem when I use the serach Service with the request parameter "size".
In the documentation it is outlined as followed:

size - optional parameter; default is 100 - RequestParam

After a little search in the internet a request param is appended to the URL
with a ? as a delimiter.

When I use the URL http://enaioserver.de/search?size=50

I get the following error:

500 (Internal Server Error)
IllegalStateException: No endpoint mapping for service [search?size=50] found!

Can you tell me where I made a mistake.

Thank you for the answer in advance.

1 Answer

+1 vote
by (2.1k points)
selected by
 
Best answer

Not OS here, but the correct url would be http://enaioserver.de/search/?size=50

A nice trick is to just execute the search though the UI and inspect the request in the developer tools of your browser.

I hope this helps.

by (590 points)
This works. Thank you for the help.

I did not see the forest for the trees ;-)
...