forked from Alexey/DAS_2024_1
34 lines
434 B
HTTP
34 lines
434 B
HTTP
GET http://localhost/person-app/
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
GET http://localhost/person-app/1
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
POST http://localhost/person-app/
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "TEST3"
|
|
}
|
|
|
|
###
|
|
|
|
PUT http://localhost/person-app/3
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "TEST11"
|
|
}
|
|
|
|
###
|
|
|
|
DELETE http://localhost/person-app/3
|
|
Accept: application/json
|
|
|
|
### |