2👍
✅
About modifying the POST
dictionary (within your middleware), you can do the following:
request.POST = request.POST.copy(); // make request.POST mutable
request.POST['new_item'] = '...' // add element
del request.POST['password'] // remove element
Source:stackexchange.com