Problems with Talk2M DMWeb API through system.net.httpClient and system.net.httpPost

Right! I forgot to encode the data object -_- This will solve the problem when using the httpClient:

import urllib
data=urllib.urlencode({"t2mdevid":devId,"t2mtoken":t2mtoken})

Anyway, I can’t get the httpPost to work