passing multiple variables to Api_Action

need to pass 2 variables to my Api_Action function

what is the correct syntax for passing 2 variables ?

in ->get() have { param, param } then for the call have ()/ param , param)
have this

$app->get(‘/getCaseNoteHistory/{x_employeeId, x_employeeCaseId}’, function ($request, $response, $args) {

}

then for the call:
$.get(ew.getApiUrl(“getCaseNoteHistory”) + “/” + encodeURIComponent($(“#x_EmployeeId”).val() + “,” + encodeURIComponent($(“#x_EmployeeCaseId”).val()))

doesn’t appear the above works

did this and it works, but just want to confirm his is the method to use

function ew_test(){
var param1 = 1;
var param2 = 736679342;

$.get(ew.getApiUrl(“getCaseNoteHistory”) + ‘/’ + param1 + ‘?x_employeeCaseId=’ + param2)
.done(function (msg) {
ew_showMsg(msg);
}).fail(function (msg) {
ew_showMsg("Error: " + msg);
});

}

thanks,

Please see: https://discourse.hkvstore.com/t/calling-stored-procedure-from-client-side-code/3294/1
where I have posted full code with multiple variables and types with lots of comments.