Skip to content

Commit

Permalink
Fix shell code examples to have line continuations (#1324)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin authored Oct 27, 2020
1 parent 0e242e3 commit e40f9be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ api = kittn.authorize('meowmeowmeow')

```shell
# With shell, you can just pass the correct header with each request
curl "api_endpoint_here"
curl "api_endpoint_here" \
-H "Authorization: meowmeowmeow"
```

Expand Down Expand Up @@ -86,7 +86,7 @@ api.kittens.get()
```

```shell
curl "http://example.com/api/kittens"
curl "http://example.com/api/kittens" \
-H "Authorization: meowmeowmeow"
```

Expand Down Expand Up @@ -152,7 +152,7 @@ api.kittens.get(2)
```

```shell
curl "http://example.com/api/kittens/2"
curl "http://example.com/api/kittens/2" \
-H "Authorization: meowmeowmeow"
```

Expand Down Expand Up @@ -206,8 +206,8 @@ api.kittens.delete(2)
```

```shell
curl "http://example.com/api/kittens/2"
-X DELETE
curl "http://example.com/api/kittens/2" \
-X DELETE \
-H "Authorization: meowmeowmeow"
```

Expand Down

0 comments on commit e40f9be

Please # to comment.