From 56ff31ec2d4844553af7bf6a186f6e9668727f2d Mon Sep 17 00:00:00 2001 From: Lucas Holmquist Date: Mon, 29 Jul 2013 08:21:50 -0400 Subject: [PATCH] README update for new login --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d6fcdf7a99..1ac16684cd 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,15 @@ curl -v -b cookies.txt -c cookies.txt http://localhost:8080/ag-push/rest/auth/login ``` +wait until this comes back and then + +``` +curl -v -b cookies.txt -c cookies.txt + -H "Accept: application/json" -H "Content-type: application/json" + -X PUT -d '{"loginName": "admin", "password":"SOMENEWPASSWORD"}' + http://localhost:8080/ag-push/rest/auth/update +``` + #### Register Push App Register a ```PushApplication```, like _Mobile HR_: