Monday, March 30, 2015

Django Http post and csrf error

I am trying to do the following:

1) A payment solution is supposed to send an HTTP Post to my site 
2) I would like to read the contents of the request(xml) and update my records to reflect the payment

I am trying this for the first time. When I create a URL path, and send a post to that address I get the csrf error.

Is there a way using Django wherein I can accept a post and don't have to return a response.

Thanks Tanmay

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e722bcd3-51e1-4fbb-a38d-6fd898317e52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment