When trying a POST
on that url, I get the same error as you, but a GET
returns:
{"categories":[ {
"id" : "5438",
"name" : "Apparel",
"path" : "Apparel",
"children" : [ {
"id" : "5438_426265",
"name" : "Accessories",
"path" : "Apparel/Accessories",
"children" : [ {
"id" : "5438_426265_1043621",
"name" : "Bandanas",
"path" : "Apparel/Accessories/Bandanas"
}, {
...
So what you need to do is change the HttpPost
into a HttpGet
.