Ask a Question

Get aqHttpResponse as json/dict format

naveens33_
Occasional Contributor

Get aqHttpResponse as json/dict format

In following python code, I can see aqHttpResponse Object Properties has only Text but actually I required my response to be in json or dict format in-order to parse it. 

 

request = aqHttp.CreateGetRequest(endpoint)
response = request.Send()

 

 

Please suggest how I can get the response in json/dict format or how I can convert this response.Text to json/dict format. 

Note:
eval() function I have used to convert text to dict but it failed for the case like

"status"true

NameError: name 'true' is not defined

1 REPLY 1
Locke65
New Contributor

Did you have a fix on this issue? Challenging a relative issue yet no response from anyone and couldn't see this point taking a gander at in google.

 

My Balance Now

cancel
Showing results for 
Search instead for 
Did you mean: