postForm


Description:

public static HttpResponse? postForm (string url, HashMap<string,string> fields)

Sends an HTTP POST request with form-encoded body.

Parameters:

url

target URL.

fields

form fields as key-value pairs.

Returns:

HTTP response or null on error.