The following examples do not necessary work out of the box as we do not provide the required backend for receiving the data. Think of the following as examples how to setup HttpClients. Download the HttpClient libraries from the Apache Website, you can download the "bin" package it includes all dependencies.
The following is an example an HTTP Get request via DefaultHttpClient:
The following will send a post request to the URL "http://vogellac2dm.appspot.com/register" and include a parameter "registrationid" which an random value.
* 符碼記憶 - Apache HttpClient 4.x 使用 GET, POST 範例