mercredi 28 janvier 2015

AWS: "ERROR: The request could not be satisfied."

I am trying to use curl to push my images of my Rails project to my AWS CloudFront distribution with a POST request. However I get the following error:


Here is how I made the request:



curl --data @general.png http://ift.tt/1ttIYw1


And this is the error i get:



ERROR: The request could not be satisfied
This distribution is not configured to allow the HTTP request method that was used for this request. The distribution supports only cachable requests.


I don't know if I need to create a 'Bucket' for my distribution. I also don't know where/if I can set up my distribution to allow this kind of approach to uploading Objects to my distribution.





Aucun commentaire:

Enregistrer un commentaire