jsonp?

Will Cadell's Avatar

Will Cadell

28 Mar, 2011 11:31 PM

Hi there, i was wondering if an implementation of jsonp was in your development path. I would love that!! :)

  1. Support Staff 2 Posted by Jane Jacobs on 29 Mar, 2011 12:03 AM

    Jane Jacobs's Avatar

    Hi Will,
    We can add jsonp support. Which requests would you like jsonp for?

    Thanks,

                     jeff
    
  2. 3 Posted by Spencer Nassar on 29 Mar, 2011 06:25 AM

    Spencer Nassar's Avatar

    I'm all for jsonp too! We would immediately use it for issues requests (list issues with lat/lng/zoom, querying an issue, and listing comments/history of an issue).

  3. Support Staff 4 Posted by Jane Jacobs on 29 Mar, 2011 01:32 PM

    Jane Jacobs's Avatar

    Hi Guys,
    Yesterday we added jsonp support to the issues/list resource. The callback parameter is simply "callback". For example:
    /issues.json?at=new+haven&sort=issues.created_at&callback=foo

    We will work on adding jsonp to the other requests Spencer. Let us know how this works for you.
    Thanks,

                  jeff
    
  4. 5 Posted by Spencer on 29 Mar, 2011 05:32 PM

    Spencer's Avatar

    Thanks for the quick turn-around on this. I've tested it successfully with the url below via jQuery.getJSON().

    http://seeclickfix.com/api/issues.json?lat=37.735017&lng=-122.4...=?

  5. Support Staff 6 Posted by Jane Jacobs on 29 Mar, 2011 07:38 PM

    Jane Jacobs's Avatar

    Glad to hear it Spencer. We'll work on the other requests. Thanks,

              jeff
    
  6. Support Staff 7 Posted by Jane Jacobs on 14 Apr, 2011 03:18 PM

    Jane Jacobs's Avatar

    Hi Guys,
    I believe these other request now have jsonp added to them. Please let us know if we missed some.
    Thanks!

  7. Support Staff 8 Posted by Jane Jacobs on 23 May, 2011 09:43 PM

    Jane Jacobs's Avatar

    Closing now. Thanks!

  8. Jane Jacobs closed this discussion on 23 May, 2011 09:43 PM.

Comments are currently closed for this discussion. You can start a new one.