Launchpad API doesn't support CORS.

Bug #1535568 reported by Shih-Yuan Lee
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned
OEM Priority Project
New
Wishlist
Unassigned

Bug Description

I am trying to make a simple web app to use the Launchpad API.
However I found Launchpad API lacking of the CORS (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) support.

Both of the latest stable Firefox and Chrome have the same problem.

You can visit https://people.canonical.com/~sylee/launchpad.html and open the web browser debugger to see the errors.
Some broswers have https://mybrowseraddon.com/access-control-allow-origin.html to workaround some problems but it should not be used for any webapp.

Please help to fix this problem so people can create some webapps directly by Launchpad API.

You can refer to http://enable-cors.org/server.html.

description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Kit Randel (blr)
Changed in launchpad:
importance: Undecided → Wishlist
tags: added: api
Revision history for this message
Kit Randel (blr) wrote :

Also related bug #730321

William Grant (wgrant)
Changed in launchpad:
importance: Wishlist → Low
Changed in launchpad:
status: New → Triaged
Revision history for this message
Dan Streetman (ddstreet) wrote :

I also need api.launchpad.net to support CORS, is there any plan to make progress on this?

description: updated
description: updated
Rex Tsai (chihchun)
tags: added: oem-priority
Changed in oem-priority:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.