Michael,
Almost ok,
It now works when there are mutilple entries, but a single entry still show access denied.
Here is what i mean:
When the output is:
[
{
"name": "domain1",
"extension": "com"
},
{
"name": "domain2",
"extension": "com"
}
]
The result is ok, i get what i expect.
When the output is:
{
"name": "domain3",
"extension": "com"
}
Than i get Access denied.