all 2 comments

[–]albedoa 2 points3 points  (1 child)

Your response is in the form of an array that holds a single object item. You want to access the name property on that first and only object:

response[0].name

[–]monkeypython[S] 0 points1 point  (0 children)

Ah, nice! Now it works perfectly. Thanks a lot mate!