Re: newb: Sending Request to Django Dev Server, From Python Terminal

2007-04-10 Thread johnny
urllib2 module is the one I need. 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,

Re: newb: Sending Request to Django Dev Server, From Python Terminal

2007-04-09 Thread [EMAIL PROTECTED]
urllib2.urlopen should give you what you need if I understand your question. On Apr 9, 11:42 am, "johnny" <[EMAIL PROTECTED]> wrote: > > why don't you just use a browser? > > I need to construct and load xml data from python shell and send it to > the dev server. I don't think you can do this in

Re: newb: Sending Request to Django Dev Server, From Python Terminal

2007-04-09 Thread johnny
> why don't you just use a browser? I need to construct and load xml data from python shell and send it to the dev server. I don't think you can do this in the browser. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: newb: Sending Request to Django Dev Server, From Python Terminal

2007-04-09 Thread oggie rob
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 te

Re: newb: Sending Request to Django Dev Server, From Python Terminal

2007-04-09 Thread Paul Rauch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 johnny schrieb: > 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

newb: Sending Request to Django Dev Server, From Python Terminal

2007-04-09 Thread johnny
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