Http post and get

Version 1
    This document was generated from CDN thread

    Created by: Johannes Magagula on 07-09-2011 05:17:55 AM
    I want to understand how the http post and get functions can be used to extract and send information from a webpage to an IP phone. Say I want to extract a login page from a website and display it on the phone; then get user input from the phone and send this input back to the website.
    How would I use http GET to extract the login page information such as an image captcha required for login?
    How would I use http POST to send username and password required for the login page?
    Would the POST be like this: http://website.com/login?username?password. If so how would I implement this in a javascript code?
     
    Thanks in advance.