So I currently working on a POST request to an api.
conn = httplib.HTTPSConnection('api.syncano.io')
conn.request(method="POST", url=url, body=postdata, headers=headers)
resp = conn.getresponse()
I used resp.read()
but it returns me a string. Are there any way for me to read the response as a JSON object where I could get the result simply by doing resp['result']
?