未验证 提交 30b25911 编写于 作者: M Matthew Peveler 提交者: GitHub

Fix shell code examples to have line continuations

上级 b3f5fcb6
...@@ -45,7 +45,7 @@ api = kittn.authorize('meowmeowmeow') ...@@ -45,7 +45,7 @@ api = kittn.authorize('meowmeowmeow')
```shell ```shell
# With shell, you can just pass the correct header with each request # With shell, you can just pass the correct header with each request
curl "api_endpoint_here" curl "api_endpoint_here" \
-H "Authorization: meowmeowmeow" -H "Authorization: meowmeowmeow"
``` ```
...@@ -86,7 +86,7 @@ api.kittens.get() ...@@ -86,7 +86,7 @@ api.kittens.get()
``` ```
```shell ```shell
curl "http://example.com/api/kittens" curl "http://example.com/api/kittens" \
-H "Authorization: meowmeowmeow" -H "Authorization: meowmeowmeow"
``` ```
...@@ -152,7 +152,7 @@ api.kittens.get(2) ...@@ -152,7 +152,7 @@ api.kittens.get(2)
``` ```
```shell ```shell
curl "http://example.com/api/kittens/2" curl "http://example.com/api/kittens/2" \
-H "Authorization: meowmeowmeow" -H "Authorization: meowmeowmeow"
``` ```
...@@ -206,8 +206,8 @@ api.kittens.delete(2) ...@@ -206,8 +206,8 @@ api.kittens.delete(2)
``` ```
```shell ```shell
curl "http://example.com/api/kittens/2" curl "http://example.com/api/kittens/2" \
-X DELETE -X DELETE \
-H "Authorization: meowmeowmeow" -H "Authorization: meowmeowmeow"
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册