Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aws.js #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update aws.js #94

wants to merge 1 commit into from

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