Hi everyone,
I'm working on a very simple automation but I'm stuck on processing my response from the http request.
block HTTP REQUEST :
Request Method : GET
Request Content type : JSON
Save response : Save to variable as text
Response Statut code : httpCode
Response content or filename : jsonResultText
Response headers dictionary : jsonResult
OK
IN
block For Each
Container : jsonDecode(jsonResultText)
Entry value : item
DO
IN
Show Toast
When Shown (Android 11+)
Message =item["user"]
It only show the first entry (308) not the second (54).
here response from
myurl.com/fixture.php :
[{"id":"2168","user":"308","user_phone":"xxx"},
{"id":"2178","user":"54","user_phone":"xxx"}
]
Did i forget some block ?