

# REST API를 사용하여 requestPayment 구성 검색
<a name="BucketPayerValues"></a>

`Payer` 리소스를 요청하여 버킷에 설정된 `requestPayment` 값을 확인할 수 있습니다.

**requestPayment 리소스를 반환하려면**
+ 다음 요청에서와 같이 GET 요청을 사용하여 `requestPayment` 리소스를 확인합니다.

  ```
  1. GET ?requestPayment HTTP/1.1
  2. Host: [BucketName].s3.amazonaws.com
  3. Date: Wed, 01 Mar 2009 12:00:00 GMT
  4. Authorization: AWS [Signature]
  ```

요청이 성공하면 Amazon S3는 다음과 비슷한 응답을 반환합니다.

```
 1. HTTP/1.1 200 OK
 2. x-amz-id-2: [id]
 3. x-amz-request-id: [request_id]
 4. Date: Wed, 01 Mar 2009 12:00:00 GMT
 5. Content-Type: [type]
 6. Content-Length: [length]
 7. Connection: close
 8. Server: AmazonS3
 9. 
10. <?xml version="1.0" encoding="UTF-8"?>
11. <RequestPaymentConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
12. <Payer>Requester</Payer>
13. </RequestPaymentConfiguration>
```

이 응답은 `payer` 값이 `Requester`로 설정되었음을 보여 줍니다.