You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.2 KiB
74 lines
1.2 KiB
POST http://localhost:8080/users/register
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username": "toto",
|
|
"password": "Leagumus"
|
|
}
|
|
|
|
#######
|
|
POST https://codefirst.iut.uca.fr/containers/camillepetitalot-cicd-java-backend/users/register
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username": "toto",
|
|
"password": "Leagumus"
|
|
}
|
|
|
|
#######
|
|
|
|
GET https://codefirst.iut.uca.fr/containers/camillepetitalot-cicd-java-backend/borrowings
|
|
Authorization: Basic toto Leagumus
|
|
|
|
|
|
#######
|
|
|
|
GET http://localhost:8080/borrowings
|
|
Authorization: Basic toto Leagumus
|
|
|
|
|
|
#######
|
|
|
|
POST http://localhost:8080/borrowings
|
|
Authorization: Basic toto Leagumus
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"book": {
|
|
"id": "voezbvjkezb"
|
|
}
|
|
}
|
|
|
|
######
|
|
|
|
POST http://localhost:8080/borrowings/64f1dbab48ddf006eafdcc0b/return
|
|
Authorization: Basic toto Leagumus
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
#######
|
|
|
|
GET http://localhost:8080/loans
|
|
Authorization: Basic toto Leagumus
|
|
|
|
#######
|
|
|
|
POST http://localhost:8080/loans
|
|
Authorization: Basic toto Leagumus
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"book": {
|
|
"id": "voezbvjkezb"
|
|
},
|
|
"to": "Michel",
|
|
"at": "2023-10-01"
|
|
}
|
|
|
|
######
|
|
|
|
POST http://localhost:8080/loans/64f1e6a0af0aaf0594d30c2f/return
|
|
Authorization: Basic toto Leagumus
|
|
Content-Type: application/json
|