Reading textbox value from webpage

Hi All

I have successfully created a webpage showing the readings from a sensor.

Now, the requirement is to, place a textbox on the page and when user submits, read that string value and write it to the flash file sytem.

I have looked through samples, and tried using http.lib methods such as http_getURL (passing through query string), but couldnt succeed.

Or simply, howto read the value of “key”? (Is there any other better method to pass the value)
http://XX.XX.XX.XX/getdata.cgi?key=Value

If anyone can provide some guidance it will be greatly appreciated.

Thanks in advance