I am trying to access information through a GET request. My javascript code is getting a successful response, but with an empty JSON array. I am trying to debug using curl and Firefox. Here is where it gets strange.
Here is a successful request through the Firefox:
http://api.example.com/v4/layers/2178198/features?token=...&filter=time%253E1384889546
This returns a bunch of data. This also works in my javascript code.
Now I do exactly the same request with a slightly different resource:
http://api.example.com/v4/layers/2178199/features?token=...&filter=time%253E1384889546
And I get a success, but the JSON array returned is empty. I do this exact same request with curl (from the same machine):
curl http://api.example.com/v4/layers/2178199/features?token=...&filter=time%253E1384889546
and I get a JSON array full of data.
So I know that I can GET data from the server with javascript and Firefox. And I know that this resource is valid, because I can access it through CURL. Why oh why do I get no data when accessing through the browser? I am very confused.