Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 370 Bytes

create_user.rest

File metadata and controls

23 lines (20 loc) · 370 Bytes

POST http://localhost:3001/api/users Content-Type: application/json

{
"username": "admin4", "name": "Admin4", "password": "salainen_on"

}

### Response #### Status Code: 201 Created #### Headers - Content-Type: application/json; charset=utf-8 #### Body

```json {

"username": "admin4", "name": "Admin4", "teams": [], "id": "63c9aa7fb4533ea108974e74"

}