0

I am trying to use amazon product advertisement api using javscript for browser.

My moto is to make ajax calls to amazon api server to get response XML.

I have done request from server using curl already.

But I want/thinking to make it from browser.

I use sign Helper provided by amazon to create REST URL/SIGNED URL.

But when I put that url in ajax and fire request.

It says:

XMLHttpRequest cannot load http://ecs.amazonaws.com/onca/xml?AWSAccessKeyId=AKIAI27C4W24NJCLCJCQ&Assoc…=2011-08-01&Signature=6qTYdd%2FSRh%2BHAG8x2SiLb%2FukNx9ks. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://example.com' is therefore not allowed access.

So Anybody have idea about it. How to make this possible?

Or somebody who done it already?

Also can we request for Json Response?

Pankaj Badukale
  • 1,991
  • 2
  • 18
  • 32

0 Answers0