Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Problem with data_series API function

16 views
Skip to first unread message

Sameer Khanna

unread,
Jan 21, 2011, 4:24:42 PM1/21/11
to chartbeat
When accessing the following API URL in the browser everything seems
fine, but calling this with jquery $.ajax() results in no data being
returned.

http://chartbeat.com/data_series/?days=1&minutes=20&host=example.com&apikey=####&type=summary&val=people

The call does not result in an error, it enters success, however there
is no data. I have no issues with other API functions.

Allan Beaufour

unread,
Jan 24, 2011, 4:51:37 PM1/24/11
to chartbeat
On Jan 21, 4:24 pm, Sameer Khanna <sam...@lot18.com> wrote:
> When accessing the following API URL in the browser everything seems
> fine, but calling this with jquery $.ajax() results in no data being
> returned.
>
> http://chartbeat.com/data_series/?days=1&minutes=20&host=example.com&...
>
> The call does not result in an error, it enters success, however there
> is no data.  I have no issues with other API functions.

What are the other API calls you tried successfully? If you do pure
XHR, you'll have cross-domain issues.

... Allan
Reply all
Reply to author
Forward
0 new messages