GET Bucket requestPayment
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) |
Corinne.chui (Talk | contribs) m (1 revision) |
Latest revision as of 13:36, 30 May 2016
Returns the request payment configuration of a bucket.
GET /?requestPayment
Requests
- Syntax
GET /?location HTTP/1.1 Host: BucketName.hs2.hostway.com Date: date Authorization: signatureValue
- Parameters
This implementation of the operation does not use request parameters.
- Headers
This implementation of the operation only uses request headers common to all operations
- Elements in body
This implementation of the operation does not use request elements.
Responses
- Headers
This implementation of the operation uses only response headers that are common to most responses
- Elements
- Payer: Specifies who pays for the download and request fees.
- RequestPaymentConfiguration: Container for Payer.
Examples
- Sample Request
GET /?requestPayment HTTP/1.1 Host: BucketName.hs2.hostway.com Date: date Authorization: AWS signatureValue
- Sample Response
<RequestPaymentConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Payer>Requester</Payer> </RequestPaymentConfiguration>