I was trying to call eBay FindProducts API using AJAX (post request) but was stuck at the following error:
XMLHttpRequest cannot load htt
I finally got thi to work by doing 2 things, Thanks to Albin.
I changed to dataType:'jsonp' added jsonp:'callbackname'. Because jQuery by default calls the callback parameter callback, but eBay expect it to be called 'callbackname'. XML was not working due to CRO problem with eBay(need to confirm though.)
Used the chrome console to debug the object retreived, converetd to string using JSON.Stringify().
Hope this helps somebody!
Cheers, Rajesh