Вопрос

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.

Это было полезно?

Решение

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 :-)

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top