DAS_2024_1/bazunov_andrew_lab_3/PersonApp/httpTests/test.http

34 lines
434 B
Plaintext
Raw Permalink Normal View History

2024-10-26 14:46:33 +04:00
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
###