In this lesson, Scott talks about a PUT (instead of a POST) for a new object to be stored in S3. Why the REST architecture style/semantic is not being used here? Shouldn’t we use POST for new objects and PUT only for existing objects? Any considerations/recommendations? Is there any real difference in S3 API regarding those verbs? Thanks in advance.
The REST semantic claims that both PUT and POST can be used for creating entities.
The AWS S3 API for adding an object to a bucket says PUT. https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
There is also a POST API actually for sending a request from a browser. https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html