I am a beginner and need to know how to go about sending data to a server as if I had filled in a form on a webpage and hit submit.