skip to Main Content

jquery ajax post says xxx not allowed by Access-Control-Allow-Origin – Ebay API

I was trying to call eBay FindProducts API using AJAX (post request) but was stuck at the following error: XMLHttpRequest cannot load http://open.api.ebay.com/shopping?callname=FindProducts. Origin http://localhost.com/test.php is not allowed by Access-Control-Allow-Origin. My code: $.ajax ({ type: "POST", url: 'http://open.api.ebay.com/shopping?callname=FindProducts', dataType: ($.browser.msie)…

VIEW QUESTION
Back To Top
Search