44 lines
795 B
HTTP
44 lines
795 B
HTTP
GET http://localhost:4001/store HTTP/1.1
|
||
Api-Name: store-service-test
|
||
|
||
###
|
||
|
||
GET http://localhost:4001/store/testApi-4 HTTP/1.1
|
||
Api-Name: store-service-test
|
||
|
||
###
|
||
|
||
POST http://localhost:4001/store HTTP/1.1
|
||
content-type: application/json
|
||
Api-Name: store-service-test
|
||
|
||
{
|
||
"key": "testApi-4",
|
||
"value": {
|
||
|
||
},
|
||
"description": "тестовое апи",
|
||
"service_name": "test-api",
|
||
"author": "vigdorov"
|
||
}
|
||
|
||
### Update Request
|
||
|
||
PUT http://localhost:4001/store HTTP/1.1
|
||
content-type: application/json
|
||
Api-Name: store-service-test
|
||
|
||
{
|
||
"key": "testApi-4",
|
||
"value": {
|
||
|
||
},
|
||
"description": "тестовое апи22",
|
||
"service_name": "test-api",
|
||
"author": "vigdorov23422"
|
||
}
|
||
|
||
###
|
||
|
||
DELETE http://localhost:4001/store/testApi-4 HTTP/1.1
|
||
Api-Name: store-service-test |