Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update missed example.com reference #114

Merged
merged 1 commit into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ $ restish example list-images
$ restish example/images

# It also works for full URIs, e.g. auth will be applied to:
$ restish https://api.example.com/images
$ restish https://api.rest.sh/images
```

Read on the learn more about the available API options.
Expand Down
2 changes: 1 addition & 1 deletion docs/hypermedia.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Restish uses a standardized internal representation of hypermedia links to make
```json
{
"rel": "next",
"uri": "https://api.example.com/items?cursor=abc123"
"uri": "https://api.rest.sh/images?cursor=abc123"
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Date: Thu, 28 May 2020 05:56:31 GMT
id: "test"
nested: {
saved: true
self: "https://example.com/nested"
self: "https://api.rest.sh/example"
}
json: {
datetime: "2020-05-27T05:41:19.603396Z"
Expand Down Expand Up @@ -109,7 +109,7 @@ Internally, the response is structured like this:
"next": [
{
"rel": "next",
"uri": "https://api.example.com/items?cursor=abc123"
"uri": "https://api.rest.sh/images?cursor=abc123"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/shorthand.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The built-in CLI shorthand syntax is not the only one you can use to generate da
For example, the shorthand example given above could be rewritten as:

```bash
$ jo -p foo=$(jo -p bar=$(jo -a $(jo baz=1 hello=world))) | restish post api.example.com/items
$ jo -p foo=$(jo -p bar=$(jo -a $(jo baz=1 hello=world))) | restish post api.rest.sh
```

The built-in shorthand syntax implementation described herein uses those and the following for inspiration:
Expand Down