I make the following request through the cURL command line:
curl -X POST http://localhost:8000/api/places/ -vvvv -d "place[name]=Starbucks"
However, when I try to access the parameters by calling
request.POST.getlist('place')
I get an empty array as an answer. How can I access a sub-tier that I can then pass to ORM?
Thank,
Jamie
source
share