Iva*_*ler 5 amazon-web-services
因此,我无法向亚马逊发送API请求并返回显示产品信息的XML,尤其是价格.我正在使用已签名的请求帮助程序来生成我的请求,并且一直在关注AWS文档中的示例.
这是我的请求URL和params:
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService
&Operation=ItemLookup
&ResponseGroup=OfferFull
&Condition=All
&IdType=ASIN
&ItemId=B001L8NG0Q
Run Code Online (Sandbox Code Playgroud)
帮助器还生成我的签名,访问密钥等.但是这是我提交此请求的内容:
<ErrorResponse xmlns="http://ecs.amazonaws.com/doc/2005-10-05/">
<Error>
<Code>InvalidAction</Code>
<Message>
The action ItemLookup is not valid for this endpoint.
</Message>
</Error>
<RequestId>a006f1ec-11b3-4afd-a5a3-cb8cfd7e4186</RequestId>
</ErrorResponse>
Run Code Online (Sandbox Code Playgroud)
关于我的问题是什么的任何想法?我似乎能够让这个工作正常用于关键字查询,但我遇到这个项目查找的麻烦.