uberspot/EasyWifiStatistics — comment on commit 1f168014bc65321c49cdd30d1e17136ae62efc9b
File:  line 0
By MasterEx:

Example of usage:

package testhttp;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.HashMap;

public class TestHTTP {

/**
* @param args the command line arguments
*/
public static void main(String[] args) throws MalformedURLException, IOException {
HttpPostForm poster = new HttpPostForm();
poster.setURL("https://somelink.com");

HashMap properties = new HashMap();

properties.put("entry.0.single", "First commit");
properties.put("entry.1.single", "last test!");
properties.put("submit", "submit");
poster.setProperties(properties);

properties = new HashMap();
properties.put("entry.0.single", "Second commit");
properties.put("entry.1.single", "thats another test");
properties.put("submit", "submit");
poster.setProperties(properties);

poster.sendHTTPS(new HttpPostForm.HostNameVerifierAllowAll());
}
}