WiFly Shield+Arduino+Android

Hi,

I have started a project and I hope to connect my Android Smartphone to an Arduino Uno using a Wifly shield. I simply want to send instructions from my phone and control a relay. How do I achieve this? I have done some research on this topic and as far as I can understand the Arduino is used as a web server and in on order to send data to the Arduino the http POST message is used. Is this the right way to go? If this is the case, how do I handle http POST messages in the actual code, any code snippets?

-MarkNL