Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Correct link to put in my WWW:Mechanize

by Anonymous Monk
on Mar 12, 2022 at 18:52 UTC ( [id://11142035]=note: print w/replies, xml ) Need Help??


in reply to Re: Correct link to put in my WWW:Mechanize
in thread Correct link to put in my WWW:Mechanize

Thanks Rolf, I tried that, still the same error (Error GETing http://www.csbio.sjtu.edu.cn/bioinf/MEMBRAIN/: Not Found) (both by putting post or get). Is there maybe somewhere that I need to add the cgi-bin part perhaps?

Replies are listed 'Best First'.
Re^3: Correct link to put in my WWW:Mechanize
by LanX (Saint) on Mar 12, 2022 at 18:55 UTC
    I've updated my post in the meantime that cAsE matters.

    Anything after the domain is a file-path and follows unix rules.

    You should try to open those URIs in the browser.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Re^3: Correct link to put in my WWW:Mechanize
by Anonymous Monk on Mar 12, 2022 at 18:56 UTC
      Sorry Rolf, I am a bit confused. In my script, I write:
      my $url = 'http://www.csbio.sjtu.edu.cn/bioinf/MemBrain/';

      and, in the source of the page I see:
      <form name="myform" action="/cgi-bin/MEMBRAIN.cgi" method="post" onSub +mit="javascript: return checkform();">

      Do these two need to be combined perhaps somehow?
        > Sorry Rolf, I am a bit confused. In my script, I write:
        'my $url = 'http://www.csbio.sjtu.edu.cn/bioinf/MemBrain/';'

        That's not the code you showed us.

        > and, in the source of the page I see:
        <form name="myform" action="/cgi-bin/MEMBRAIN.cgi" method="post" onSubmit="javascript: return checkform();">

        you are confusing two things:

        1. the static page you open in your browser to see the form
        2. the CGI you can submit your form parameters to.
        Which one do you want to mechanize? I can't tell.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

        Also, this one does not point somewhere: http://www.csbio.sjtu.edu.cn/bioinf/MemBrain/cgi-bin/MEMBRAIN.cgi --> The requested URL /bioinf/MemBrain/cgi-bin/MEMBRAIN.cgi was not found on this server.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found