2👍
✅
Your sending the data as a raw JSON post, not a form-encoded one. So you should access request.body
, not request.POST
, and decode the JSON from there.
Source:stackexchange.com