diff --git a/Excel-and-VBA.md b/Excel-and-VBA.md index b27b1eb..e5993a6 100644 --- a/Excel-and-VBA.md +++ b/Excel-and-VBA.md @@ -12,9 +12,11 @@ For example, with using curl, you first login with admin credentials, by sending username and password to url. Change your server url etc details to below: +Login with as JSON https://github.com/wekan/wekan/wiki/REST-API#example-call---as-json ``` -curl http://localhost:3000/users/login \ --d "username=USER&password=PASSWORD" +curl -H "Content-type:application/json" \ + http://localhost:3000/users/login \ + -d '{ "email": "my@email.com", "password": "mypassword" }' ``` => ```