Working:
xhr.open('POST', "employee.jsp?empId=123", true); xhr.send();
Not-working:
xhr.send(params); where params is 'empId=123'
Not sure what is the different between the two.
Can someone please explain.
Thanks.