Skip to content

Conversation

skucukbay
Copy link

Amazon keeps many products country separated. And each different country has own end point address. For ex: for France, while end point address is "webservices.amazon.fr/onca/xml", for USA this adrress is "webservices.amazon.com/onca/xml". it can be checked at http://docs.aws.amazon.com/AWSECommerceService/latest/DG/AnatomyOfaRESTRequest.html.
So if this call method has selective host address option as a parameter, it will give us to flexibility when call product api, and no need to create new instance for requesting other amazon end points.
By this way, we need to just single instance for all amazons' end points.
this change on aws.js requires some changes in prodAdv.js.

Amazon keeps many products country separated. And each different country has own end point address. For ex: for France, while end point address is "webservices.amazon.fr/onca/xml", for USA this adrress is "webservices.amazon.com/onca/xml". it can be checked at http://docs.aws.amazon.com/AWSECommerceService/latest/DG/AnatomyOfaRESTRequest.html.
So if this call method has selective host address option as a parameter, it will give us to flexibility when call product api, and no need to create new instance for requesting other amazon end points.
By this way, we need to just single instance for all amazons' end points.
this change on aws.js  requires some changes in prodAdv.js.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant