I am a total n00b when it comes to networking. I have done some limited networking in Java/Android, though.
Here's what I have done: I have a Raspberry Pi set up as a web server using lighttpd.
Here's the problem: I want to HTTP POST a value (a String or an int or plain text or something) to my home-made web server. Then, I want to be able to, at any time, HTTP GET this value from the server.
How do I accomplish this? What do I need to do on the Raspberry Pi, and what do I need to do in Java (in my Android app that posts and gets the value)?