Ajout creation utilisateur

This commit is contained in:
2020-02-19 16:28:29 +01:00
parent dacf0a8aec
commit 0a21001a0a
3 changed files with 82 additions and 1 deletions

View File

@ -41,4 +41,42 @@ Content-Type: application/json
// List users
GET {{baseURL}}/users
Content-Type: application/json
Content-Type: application/json
###
// List projects
GET {{baseURL}}/projects
Content-Type: application/json
###
// Show project
GET {{baseURL}}/projects/17
Content-Type: application/json
###
// Create project
POST {{baseURL}}/projects
Content-Type: application/json
{
"name": "new-project",
"users": [18]
}
###
// Create users
POST {{baseURL}}/users
Content-Type: application/json
{
"username": "test12",
"password": "test12"
}