About POST method in HTTP connection... - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

About POST method in HTTP connection...

[b][blue]
If i take this form here that is inclued in www.google.com :
[code]









[/code]
I know that i can ask the google server to search for the word "toto"
by sending this to the server :
[code]
GET www.google.com/search?q=toto&ie=ISO-8859-1&hl=en&btnG=Google+Search&meta=
[/code]
But, if i want to do it via POST, how do i do it?
In the RFC2616, when they talk about POST, they refer to the RFC1867.
From that RFC, i did not find the answer, nor do they refer me to
another RFC. Anyone would be able to help me?
[/blue][/b][hr]
Warlockzzz
"I am not sleeping, I am slimply preparing myself to work!"


Comments

  • iDaZeiDaZe Posts: 464Member
    : [b][blue]
    : If i take this form here that is inclued in www.google.com :
    : [code]
    :
    :
    :
    :
    :
    :
    :
    :
    :
    : [/code]
    : I know that i can ask the google server to search for the word "toto"
    : by sending this to the server :
    : [code]
    : GET www.google.com/search?q=toto&ie=ISO-8859-1&hl=en&btnG=Google+Search&meta=
    : [/code]
    : But, if i want to do it via POST, how do i do it?
    : In the RFC2616, when they talk about POST, they refer to the RFC1867.
    : From that RFC, i did not find the answer, nor do they refer me to
    : another RFC. Anyone would be able to help me?
    : [/blue][/b][hr]
    : Warlockzzz
    : "I am not sleeping, I am slimply preparing myself to work!"
    :

    I think (but somebody correct me if I'm wrong) that POST doesn't send the variables as a string appended to the url but instead stores them in a file on the server and from what I've seen POST submissions can only be send from the same server that runs the script that is called.

    That's what I think, so calling POST from another computer won't work
  • WarlockzzzWarlockzzz Posts: 131Member
    [b][red]This message was edited by Warlockzzz at 2002-10-22 14:57:10[/red][/b][hr]
    [b][green]Then, how secure is the password send to hotmail?
    Since, hotmail use a password entered in a form send in cgi/asp/php,
    A browser could take these :

    [code]





    hotmail.com
    msn.com





















    [/code]

    And simply send it like this :
    [code]
    GET https://loginnet.passport.com/ppsecure/post.srf?login=tata&domain=hotmail.com&svc=mail&RemoteDAPost=https://login.msnia.passport.com/FR/ppsecure/post.asp&passwd=tata&sec=no&curmbox=ACTIVE&js=no&_lang=FR&beta=0&ishotmail=1&mspp_shared=&id=2&fs=1&cb=_lang=FR&country=CA&ct=1035302413
    [/code]

    And that would work if the account "toto" with the pass "tata" would
    exist. And that also mean, that all proxy this addr will pass throught
    will show your password and also that you are showing your email pass to
    anyone looking at title bar of ie(maybe netscape, konqueror, mozilla, etc), isnt it?

    That's why i thinks post can be used for this kind of job. But how can it be used?
    [/b][/green]

    : : [b][blue]
    : : If i take this form here that is inclued in www.google.com :
    : : [code]
    : :
    : :
    : :
    : :
    : :
    : :
    : :
    : :
    : :
    : : [/code]
    : : I know that i can ask the google server to search for the word "toto"
    : : by sending this to the server :
    : : [code]
    : : GET www.google.com/search?q=toto&ie=ISO-8859-1&hl=en&btnG=Google+Search&meta=
    : : [/code]
    : : But, if i want to do it via POST, how do i do it?
    : : In the RFC2616, when they talk about POST, they refer to the RFC1867.
    : : From that RFC, i did not find the answer, nor do they refer me to
    : : another RFC. Anyone would be able to help me?
    : : [/blue][/b][hr]
    : : Warlockzzz
    : : "I am not sleeping, I am slimply preparing myself to work!"
    : :
    :
    : I think (but somebody correct me if I'm wrong) that POST doesn't send the variables as a string appended to the url but instead stores them in a file on the server and from what I've seen POST submissions can only be send from the same server that runs the script that is called.
    :
    : That's what I think, so calling POST from another computer won't work
    :



Sign In or Register to comment.