Enable Website Hosting

PUT {{baseUrl}}

This request enables website hosting for a bucket with the name bucketName in S3. Once this request is run successfully, a link will be generated in the environment with name websiteLink in which the website can be accessed by.

The successful response returns a 200 OK. If you receive the response 404 Not Found with error status NoSuchBucket, please run the Create Bucket Put Request and Set Bucket Policy Put Request in this collection.

HEADERS

KeyDatatypeRequiredDescription
x-mock-response-namestring

RESPONSES

status: OK