mirror of
https://github.com/wekan/wekan.git
synced 2026-03-12 16:42:33 +01:00
Updated REST API (markdown)
parent
f98c071aeb
commit
7bfefe4729
1 changed files with 6 additions and 0 deletions
|
|
@ -73,6 +73,9 @@ When calling a production Wekan server, ensure it is running via HTTPS and has a
|
|||
* **You will need to provide the `token` for any of the authenticated methods.**
|
||||
|
||||
## Example Call - As Form Data
|
||||
|
||||
DOES NOT WORK ! Please use As JSON example below !
|
||||
|
||||
```bash
|
||||
curl http://localhost:3000/users/login \
|
||||
-d "username=myusername&password=mypassword"
|
||||
|
|
@ -85,6 +88,9 @@ curl http://localhost:3000/users/login \
|
|||
|
||||
|
||||
## Example Call - As JSON
|
||||
|
||||
THIS WORKS !! Alternatively, look at api.py example at https://github.com/wekan/wekan
|
||||
|
||||
```bash
|
||||
curl -H "Content-type:application/json" \
|
||||
http://localhost:3000/users/login \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue