Share feedback, ideas and get community help

l
lacow
Offline, last seen 2 months ago
Joined October 18, 2024
Hi!
I am trying to wrap my head around why an array from a http request is not saved.
I want the user to input his zipcode, then a request is ran against my API which returns an array of possible cities. Those are then presented to the user to select one (dynamic data).

Sample Return from the API:
{
"statusCode": 200,
"data": {
"75001": {
"zipcode": "75001",
"cities": [
"PARIS-01",
"PARIS-1ER-ARRONDISSEMENT"
]
}
}
}

Save in Variables:
data.75001.cities
as "cities"

Result: Nothing saves in "cities"

Thanks for your help!
3 comments
B
l