Question

I am trying to fetch collection of items by ItemSearch method of Amazon Web Services.

ItemSearchResponse response = aws.ItemSearch(itemSearch);

But I am facing Bad request issue:

The remote server returned an unexpected response: (400) Bad Request.

Était-ce utile?

La solution

Finally I got solution using JS:

I got hint to consume amazon service ItemSearch from below link:

http://docs.aws.amazon.com/AWSECommerceService/latest/DG/CHAP_ReturningPriceAndAvailabilityInformation-itemsearch.html

Got help to create signature & Timestamp parameter from below link:

How to properly sign a GET request to Amazon's ItemLookup using client-side JavaScript only?

Thanks to all of you :-)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top