I\'m new to sparkjava. I want to read my request params using spark java but I\'m not able to find the correct syntax. please help me out. Below is my route method and the clien
If you have to work with an URL like /smartapp/getDataViewModelConfig?collId=123
you have to deal with query parameters in your implementation, like the following:
get("smartapp/getDataViewModelConfig", "application/json", (request, response)->{
String id = request.queryParams("collId");
return "HI " + id;
}