Skip to content

Commit

Permalink
Fix quickstart json examples
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 18, 2017
1 parent 957e590 commit 0104753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/client_quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Any of session's request methods like :func:`request`,
`json` parameter::

async with aiohttp.ClientSession() as session:
async with session.post(json={'test': 'object'})
async with session.post(url, json={'test': 'object'})


By default session uses python's standard :mod:`json` module for
Expand All @@ -169,7 +169,7 @@ parameter::
import ujson

async with aiohttp.ClientSession(json_serialize=ujson.dumps) as session:
async with session.post(json={'test': 'object'})
async with session.post(url, json={'test': 'object'})

.. note::

Expand Down

0 comments on commit 0104753

Please sign in to comment.