Http Post with header, body

You definitely want to use httpClient over httpPost. However, httpClient (currently) doesn't have special handling for POST parameters, so you'll have to manually encode, e.g. with urllib: