Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80530

Re: Communicating with a PHP script (and pretending I'm a browser)

References <CACwCsY46yYFQwdYdriTSYSvLYF=xs6L2zanN9gofkWkoHvj_fA@mail.gmail.com>
Date 2014-11-12 02:54 +1100
Subject Re: Communicating with a PHP script (and pretending I'm a browser)
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15668.1415721300.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Nov 12, 2014 at 2:48 AM, Larry Martell <larry.martell@gmail.com> wrote:
> Is there some way python can communicate like curl ... it needs to
> send the request string in the body of a POST request to the URL that
> will route to the PHP script and get the output back.

That is possible, but probably more effort than it's worth. It'll
likely be easier to just do the translation all at once.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Communicating with a PHP script (and pretending I'm a browser) Chris Angelico <rosuav@gmail.com> - 2014-11-12 02:54 +1100

csiph-web