Ajout creation utilisateur
This commit is contained in:
@ -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"
|
||||
}
|
Reference in New Issue
Block a user