Not signed in (Sign In)
  • What is Intervals?

    Intervals is online time, task and project management software built by and for web designers, developers and creatives. Learn more…

The Intervals Forum is Closed.
This forum has been replaced with a help section located at
We recommend checking the help section, as the forums are no longer being updated. If you have any questions, please don't hesitate to contact our support team.


jquery script to access api

Bottom of Page

1 to 2 of 2



    I'm trying to use jquery to access the api and return data this is what I have so far:

    type: 'GET',
    url: '',
    data: '{Accept: application/xml, Authorization: Basic base64encodedkey}',
    dataType: 'xml',
    success: parseXml

    function parseXml(xml)
    alert('I am here');

    My knowledge of javascript programming is limited any help would be greatly appreciated

    • jprado
    • Aug 9th 2010 edited @ 08/09/2010 9:55 am

    JavaScript won't work with that example because the XMLHttpRequest cannot make requests across different domains.

    There are ways for it to work using a proxy, but in general JavaScript by itself will not work.

    Here is an example of a proxy written in php

Comments are closed.
For more Intervals help documentation, please visit