# curl -sN 'http://localhost:8080/api/v1/subscribe/hello' -H "Authorization: Bearer 1234" | grep --line-buffered -Po '(?<=data: ).*' | jq
POST http://localhost:8080/api/v1/set/hello HTTP/1.1
Content-Type: application/json
Authorization: Bearer 1234
{
"level1": {
"level2": {
"a": "hello",
"b": "world"
}
}
}
###
POST http://localhost:8080/api/v1/set/hello/there HTTP/1.1
Content-Type: application/json
Authorization: Bearer 1234
"General Kenobi"
###
GET http://localhost:8080/api/v1/get/hello?pointer=/level1/level2 HTTP/1.1
Authorization: Bearer 1234
###
GET http://localhost:8080/api/v1/pget/hello/%23 HTTP/1.1
Authorization: Bearer 1234
###
POST http://localhost:8080/api/v1/publish/hello HTTP/1.1
Content-Type: application/json
Authorization: Bearer 1234
"you"
###
GET http://localhost:8080/api/v1/ls HTTP/1.1
Authorization: Bearer 1234
###
GET http://localhost:8080/api/v1/ls/hello HTTP/1.1
Authorization: Bearer 1234
###
DELETE http://localhost:8080/api/v1/delete/hello HTTP/1.1
Authorization: Bearer 1234
###
DELETE http://localhost:8080/api/v1/pdelete/hello/%23 HTTP/1.1
Authorization: Bearer 1234