How to send http strings

Is not that simple i have already trie to use the arduino as server and as client.
Change the code from the examples, but could not find a solution.
Can you provide me an example based on the code i wrote before? So i could test if that option work.
Thanks

Timóteo