Code makes successful requests to Amazon Api