From 152274945ec4d0a3f3b1f959aa1bf81025d08e53 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 29 Jun 2023 12:43:25 +0300 Subject: [PATCH] Updated Excel and VBA (markdown) --- Excel-and-VBA.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" }' ``` => ```