Skip to content

Instantly share code, notes, and snippets.

@lholmquist
Last active December 20, 2015 08:58
Show Gist options
  • Save lholmquist/6103904 to your computer and use it in GitHub Desktop.
Save lholmquist/6103904 to your computer and use it in GitHub Desktop.
curl -v -b cookies.txt -c cookies.txt -H 
"Accept: application/json" -H "Content-type: application/json" 
-X PUT -d '{"loginName": "admin", "password":"password"}' 
http://localhost:8080/ag-push/rest/auth/update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment