lundi 29 juin 2015

Differing Reponse Codes from Django Application


For both GET and POST requests I simply want to print the associated QueryDict in my test view:

if request.method == 'GET':
    print request.GET

if request.method == 'POST':
    print request.POST

When I make requests using both methods I get different response codes. I could use some help.

enter image description here


Aucun commentaire:

Enregistrer un commentaire