python - mechanize/browser/POST issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bruce

    python - mechanize/browser/POST issue

    evening...

    using mechanize/Browser, i can easily do a url/get, and process submitting a
    form that uses a GET as the action. however, I'm not quite sure how to
    implement the submittal of a form, that uses the POST action.

    Anyone have a short chunk of code that I can observer, that uses the
    mechanize.Brows er implentation?

    in searching the net, i haven't found any...

    thanks


  • Wojtek Walczak

    #2
    Re: python - mechanize/browser/POST issue

    On Tue, 2 Sep 2008 19:39:05 -0700, bruce wrote:
    using mechanize/Browser, i can easily do a url/get, and process submitting a
    form that uses a GET as the action. however, I'm not quite sure how to
    implement the submittal of a form, that uses the POST action.
    >
    Anyone have a short chunk of code that I can observer, that uses the
    mechanize.Brows er implentation?
    Take a look at the bottom of this post:



    It seems that submit does the job.

    --
    Regards,
    Wojtek Walczak,

    Comment

    Working...