This is how my response body looks like. Its stored in a variable and when i use console.log(body) I get the following.
[
{
"key1":"value1",
"key2":"value2",
"key3":"value3"
}
]
Im trying to access "key3" using the following
console.log(body[0].key3)
I get undefined. Im not sure what is wrong here. If i just do
console.log(body[0])
im getting a string [
Thanks for your help here.