forked from Alexey/DAS_2024_1
34 lines
434 B
Plaintext
34 lines
434 B
Plaintext
|
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
|
||
|
|
||
|
###
|