diff --git a/README.md b/README.md index 5b43b4b..f1d801f 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ Web API: * `POST /token` issues a JWT token valid for one minute `JWT=$(curl -sd 'anon' podinfo:9898/token | jq -r .token)` * `GET /token/validate` validates the JWT token `curl -H "Authorization: Bearer $JWT" podinfo:9898/token/validate` * `GET /configs` returns a JSON with configmaps and/or secrets mounted in the `config` volume -* `POST /write` writes the posted content to disk at /data/hash and returns the SHA1 hash of the content -* `GET /read/{hash}` returns the content of the file /data/hash if exists +* `POST /store` writes the posted content to disk at /data/hash and returns the SHA1 hash of the content +* `GET /store/{hash}` returns the content of the file /data/hash if exists * `GET /ws/echo` echos content via websockets `podcli ws ws://localhost:9898/ws/echo` ### Guides