forked from Alexey/DAS_2024_1
37 lines
489 B
HTTP
37 lines
489 B
HTTP
GET http://localhost/task-app/
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
GET http://localhost/task-app/4
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
POST http://localhost/task-app/
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "TEST2",
|
|
"person_id": 1,
|
|
"date": "19.02.2202"
|
|
}
|
|
|
|
###
|
|
|
|
PUT http://localhost/task-app/4
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "TEST5",
|
|
"date": "19.02.2202"
|
|
}
|
|
|
|
###
|
|
|
|
DELETE http://localhost/task-app/4
|
|
Accept: application/json
|
|
|
|
### |