Files
storage-service/http/store.http

57 lines
1.3 KiB
HTTP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

###
GET http://localhost:4001/store HTTP/1.1
Api-Name: store-service-test
###
GET http://localhost:4001/store/testApi-4345345345 HTTP/1.1
Api-Name: store-service-test
###
GET http://localhost:4001/store/rgfdfff?hook=sdf6sdfhs99-sdf HTTP/1.1
###
POST http://localhost:4001/store HTTP/1.1
content-type: application/json
Api-Name: store-service-test
Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJsb2dpbiI6InN0cmluZyIsImFnZW50IjoidnNjb2RlLXJlc3RjbGllbnQiLCJpYXQiOjE1OTY5MDM0NTQsImV4cCI6MTU5NjkwMzc1NH0.Uos0Ei9Fes1euZ72uh_6E9ixG1orBu79bFYjzzmWRR8
{
"key": "testAp",
"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-4234222",
"value": {
},
"description": "тестовое апи22",
"service_name": "test-api",
"author": "vigdorov23422"
}
###
DELETE http://localhost:4001/store/testAp HTTP/1.1
Api-Name: store-service-test
###
GET http://localhost:4001/logs/client HTTP/1.1
###
GET http://localhost:4001/logs/server HTTP/1.1
###
DELETE http://localhost:4001/logs/client HTTP/1.1
###
DELETE http://localhost:4001/logs/server HTTP/1.1