31.08.2015, 13:38
The easiest way is to do auth request in your browser and check response format. If you get just raw sid value then next request is simple:
Otherwise, post response here and we will help you with parsing it
Code:
url = "http://1.2.3.4/webapi/entry.cgi?mailEnable=1&_sid=".. data
data = socket.http.request(request_body)
Otherwise, post response here and we will help you with parsing it