1👍
Use getlist
for key2.
key2 = request.POST.getlist('key2', '')
But you might find it easier to send the data as JSON and access json.loads(request.body)
.
Source:stackexchange.com
1👍
Use getlist
for key2.
key2 = request.POST.getlist('key2', '')
But you might find it easier to send the data as JSON and access json.loads(request.body)
.