So far, all the HTTP calls covered in this chapter have been used to obtain data from an Internet server. Obviously, if you intend to use HTTP to access, for example, enterprise databases, you will need to send data back to the server. This can be done by doing the following:
Appending data onto the URL. This technique is used when small amounts of data are to be sent. Special characters, such as spaces, need to be encoded to ensure that the URL only contains legal characters.
Using the "POST" HTTP verb. You can send large amounts of data, including whole files.
The first technique is the easier to use, but the second is more flexible.
Data is appended onto a URL following a "?" character. The ...