Forum Discussion

naveens33_'s avatar
naveens33_
Contributor
3 years ago

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.Create...
  • naveens33_'s avatar
    naveens33_
    3 years ago

    Hi Locke65 ,

    Found an alternative way through json package and its works fine now,

    import json
    json_ = json.loads('{"records":[{"Id":true}]}')
    Log.Message(json_["records"][0]["Id"])