Skip to content

Commit d1b77c9

Browse files
authored
Merge pull request #17 from mumoshu/patch-1
fix(doc): Update README about read/write endpoints
2 parents 43df2d1 + bfa3aaf commit d1b77c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Web API:
3535
* `POST /token` issues a JWT token valid for one minute `JWT=$(curl -sd 'anon' podinfo:9898/token | jq -r .token)`
3636
* `GET /token/validate` validates the JWT token `curl -H "Authorization: Bearer $JWT" podinfo:9898/token/validate`
3737
* `GET /configs` returns a JSON with configmaps and/or secrets mounted in the `config` volume
38-
* `POST /write` writes the posted content to disk at /data/hash and returns the SHA1 hash of the content
39-
* `GET /read/{hash}` returns the content of the file /data/hash if exists
38+
* `POST /store` writes the posted content to disk at /data/hash and returns the SHA1 hash of the content
39+
* `GET /store/{hash}` returns the content of the file /data/hash if exists
4040
* `GET /ws/echo` echos content via websockets `podcli ws ws://localhost:9898/ws/echo`
4141

4242
### Guides

0 commit comments

Comments
 (0)