Skip to content
Closed
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
16 changes: 8 additions & 8 deletions docs/get-requests-and-caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ Services will automatically support GET requests using this option.
It is still necessary to opt-in to HTTP GET on your client, as well. Generated clients include a
`use_get` parameter for methods that are marked with `NO_SIDE_EFFECTS`.

=== "Async"
### Async

```python
response = await client.say(SayRequest(sentence="Hello"), use_get=True)
```
```python
response = await client.say(SayRequest(sentence="Hello"), use_get=True)
```

=== "Sync"
### Sync

```python
response = client.say(SayRequest(sentence="Hello"), use_get=True)
```
```python
response = client.say(SayRequest(sentence="Hello"), use_get=True)
```

For other clients, see their respective documentation pages:

Expand Down