Skip to content

Commit

Permalink
fixing incorrect url in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaardsholt authored Jul 29, 2022
1 parent 8c21181 commit 558fbf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Used to specify the port your redis server is using.

```bash
curl --request POST \
--url http://localhost:8080/ \
--url http://localhost:8080/api \
--header 'Content-Type: application/json' \
--data '{
"content": "some super secret stuff goes here",
Expand All @@ -47,12 +47,12 @@ The reponse will be the ID of your secret, which can be used to fetch it again.

## Fetch a secret

To fetch you secret again to a GET request to `http://localhost:8080/<your-secret-id-goes-here>`
To fetch you secret again to a GET request to `http://localhost:8080/api/<your-secret-id-goes-here>`

For example:
```bash
curl --request GET \
--url http://localhost:8080/Jsm9nDvKVhtAQEfz1Bukx7jHeKIBpPV8kX0B_a4w2rEqAke0MYJ_uvGc30s6o85TiIn-qeBm_9S55ajlDzysRw
--url http://localhost:8080/api/Jsm9nDvKVhtAQEfz1Bukx7jHeKIBpPV8kX0B_a4w2rEqAke0MYJ_uvGc30s6o85TiIn-qeBm_9S55ajlDzysRw
```


0 comments on commit 558fbf0

Please sign in to comment.