No 'Access-Control-Allow-Origin' header is present on the requested resource.

34 views
Skip to first unread message

zion

unread,
Aug 1, 2016, 1:00:19 PM8/1/16
to ticketfly-api
Hello,

thanks for providing support for this API. 

When I go to chrome and type this into the url: https://www.ticketfly.com/api/events/event.json?eventId=1191083  , I get a good response.

However, when I do it from my angular app, I receive an error (see attached screenshots). 

For other apis (eventbrite, etc), that syntax works. Can someone identify the problem and how to fix it? 
Screen Shot 2016-08-01 at 9.56.01 AM.png
Screen Shot 2016-08-01 at 9.56.14 AM.png

Andrew Leonard

unread,
Mar 29, 2017, 12:02:24 AM3/29/17
to ticketfly-api
Did you ever figure this issue out?

Jeremy Hutchings

unread,
Mar 29, 2017, 7:26:40 AM3/29/17
to ticket...@googlegroups.com
I believe you need to make a jsonp call to the server. Usually this is done by providing a 'callback' parameter to the request string. This error is thrown by the browser.

--
You received this message because you are subscribed to the Google Groups "ticketfly-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ticketfly-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages