Skip to content
Snippets Groups Projects
Commit cec9b3b1 authored by safarte's avatar safarte
Browse files

fix

parent 857fe5a3
No related branches found
No related tags found
No related merge requests found
......@@ -36,9 +36,9 @@ To post a message from specified user on specified board:
POST /messages
body:
{
content: "blabla",
userId: 42,
boardId: 1
"content": "blabla",
"userId": 42,
"boardId": 1
}
```
......@@ -48,8 +48,8 @@ To register a new user (returns the user):
POST /users => Object
body:
{
username: "blabla",
paswword: "verysecure"
"username": "blabla",
"paswword": "verysecure"
}
```
......@@ -59,7 +59,7 @@ To login an user (returns a list containing the matching users):
POST /login => [Object]
body:
{
username: "blabla",
paswword: "verysecure"
"username": "blabla",
"paswword": "verysecure"
}
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment