I have a rest Api with spring boot :
PageableResult<List<T>> search(HttpServletRequest request, HttpServletResponse response){
Map<String, String[]> params = request.getParameterMap();
log.info("params: {}", params);
return getService().search(params);
}
but when I use postman
And In service function I have nothing when using code below.
String resultat = params.get("resultat");// I have nothing with resultat
So what happen with parameter begin by "#" symbol. How to solve it?
You will need to use %23
to pass #
as a character.
Here is a website to convert your keywords into necessary format.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With