2👍
It’s accessible via request.body
so you need to do json.loads(request.body)
to retrieve the posted data.
Also consider using DRF instead. It will handle retrieving json payload automatically.
Source:stackexchange.com
2👍
It’s accessible via request.body
so you need to do json.loads(request.body)
to retrieve the posted data.
Also consider using DRF instead. It will handle retrieving json payload automatically.