I'm new to Django. I have installed the latest Django and completed the four-page tutorial. I created a very simple view as below:
======== from django.http import HttpResponse def test(request): return HttpResponse('My name is ' + request.GET['name']) ======== I'm able to navigate to "http://localhost:8000/demo/test?name=Bob" and get the following response: My name is Bob However, when I tried this: $ curl -d "name=Bob" http://localhost:8000/demo/test I got some errors like this: ======== Forbidden (403) CSRF verification failed. Request aborted. Help Reason given for failure: No CSRF or session cookie. ... ======== Does anyone have any ideas? Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.