http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/commit/cd3e1e3574d5f0977a566b5b5d02640310f7a57b
__name__ , cmd ) ) import requests import urllib3 urllib3 . disable_warnings ( ) ret = requests . post ( url = ' https:// {} : {} /json_rpc ' . format ( self . host , self . port ) , json = { ' jsonrpc ' : ' 2.0 ' , ' id ' : ' 0 ' , ' method ' : cmd , ' params ' : kwargs , } , auth = requests . auth . HTTPDigestAuth ( self . user , self . passwd ) , headers = self . http_hdrs , verify = False ) res = json . loads ( ret .