diff --git a/modules/distribution/src/core/samples/connectedcup/component/agent/src/main/webapp/index.jsp b/modules/distribution/src/core/samples/connectedcup/component/agent/src/main/webapp/index.jsp index 1d68c7ae..5c9425b3 100644 --- a/modules/distribution/src/core/samples/connectedcup/component/agent/src/main/webapp/index.jsp +++ b/modules/distribution/src/core/samples/connectedcup/component/agent/src/main/webapp/index.jsp @@ -101,7 +101,7 @@ var deviceId = '<%=request.getSession().getAttribute("deviceId")%>'; var deviceOwner = '<%=request.getSession().getAttribute("deviceOwner")%>'; var token = '<%=request.getSession().getAttribute("token")%>'; - var url = '/connectedcup/controller/ordercoffee?deviceId=' + deviceId + '&deviceOwner=' + deviceOwner; + var url = '/connectedcup/device/ordercoffee?deviceId=' + deviceId ; $.ajax({ type: 'POST', @@ -131,4 +131,4 @@ sendData(); - \ No newline at end of file +