title: How to pass access credentials in request with AWS API
body: <p>I'm trying to pass a request with AWS API but I get this error </p>
  
  <pre><code>AWS was not able to validate the provided access credentials
  </code></pre>
  
  <p>My request is:</p>
  
  <pre><code>https://ec2.amazonaws.com/?Action=RunInstances&amp;ImageId=ami-6df1e514&amp;KeyName=key1&amp;InstanceType=t2.micro&amp;Placement.AvailabilityZone=us-west-2&amp;AWSSecretAccessKey=**********************&amp;AWSAccessKeyId=******************
  </code></pre>
  
  <p>My access credentials are right, there is no doubt about that. 
  I found that the problem could be caused by clock delay but My PC's clock is correct.
  Could someone help me, I did not find a solution.</p>