Get aqHttpResponse as json/dict format
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2022
01:08 AM
05-26-2022
01:08 AM
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
Labels:
- Labels:
-
Desktop Testing
-
Script Tests
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2022
10:26 PM
05-26-2022
10:26 PM
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.
