Wednesday, June 19, 2013

Passing parameters via POST in django 1.5

Hi,

We're upgrading our application from 1.3 to 1.5. We have quite a few rest apis in our application. This used to work in 1.3:

Url:
/path/to/api

Passing parameters in the body like this:

&someParamter=someValue&otherParameter=otherValue

but it doesn't in 1.5, request.POST is empty in the view. I've tried both via a restclient and javascript. I can't find any documentation that this has changed, so what am I missing?

Thanks!

Odd-R.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate