Update samples' dependencies
This commit is contained in:
@@ -17,6 +17,10 @@ includes:
|
||||
search: true
|
||||
|
||||
code_clipboard: true
|
||||
|
||||
meta:
|
||||
- name: description
|
||||
content: Documentation for the Kittn API
|
||||
---
|
||||
|
||||
# Introduction
|
||||
@@ -45,7 +49,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"
|
||||
```
|
||||
|
||||
@@ -86,7 +90,7 @@ api.kittens.get()
|
||||
```
|
||||
|
||||
```shell
|
||||
curl "http://example.com/api/kittens"
|
||||
curl "http://example.com/api/kittens" \
|
||||
-H "Authorization: meowmeowmeow"
|
||||
```
|
||||
|
||||
@@ -152,7 +156,7 @@ api.kittens.get(2)
|
||||
```
|
||||
|
||||
```shell
|
||||
curl "http://example.com/api/kittens/2"
|
||||
curl "http://example.com/api/kittens/2" \
|
||||
-H "Authorization: meowmeowmeow"
|
||||
```
|
||||
|
||||
@@ -206,8 +210,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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user