0
votes

I was trying to programmatically access the following url:

https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=garlic+press

$response = $client->get($url, ['proxy' => 'http://someproxy','timeout' => 10, 'cookies' => $jar]);

and I receive the following response:

enter image description here

It looks like my request is rejected by cloudfront.

1

1 Answers

0
votes

You should try setting your User-Agent headers to something sensible. It may be CloudFront refuses to serve content to unknown user agents.