urllib.urlopen('http://127.0.0.1:8000/putProduct').read()
On Apr 9, 9:09 am, "johnny" <[EMAIL PROTECTED]> wrote: > How do you send a request to localhost djanog dev server from Python > Terminal? > I have started mysql and python dev server locally on my machine. > Now, I want to open > python terminal send a request, to 127.0.0.1:8000/putProduct. > > Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---