I have the following JSON:
at http://localhost:3000/folder/1234567
[
{
"_id": "543e95d78a1cec2a38ed53ec"
},
{
"_id": "543e95d78a1cec2a38ed53f1"
}
]
And I want to get all the _id.
So, I am doing something like:
$http.get('http://localhost:3000/folder/' + folderId)
.success(function (response) {
console.log("response"+ response);
console.log("response id"+ response.id);
But I have:
response [object Object],[object Object]
response id undefined
How can I fix to get the _id ?
Thanks for your help !
_iddo you need?