• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Objects
  5. Initiate Multipart Upload
  6. Examples

Examples

Sample Request

POST /objectkey?uploads  HTTP/1.1 
 User-Agent: Jakarta Commons-HttpClient/3.1 
 Host: bucketname.obs.example.com
 Accept: */*
 Date: Mon, 1 Nov 2010 20:34:56 GMT
 Authorization: AWS AKIAIOSFODNN7EXAMPLE:VGhpcyBtZXNzYWdlIHNpZ25lZGGieSRlbHZpbmc=

Sample Response

HTTP/1.1 200 OK  
 Server: OBS
 x-amz-id-2: Weag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg==  
 x-amz-request-id: 996c76696e6727732072657175657374  
 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc 
 Date: Mon, 1 Nov 2010 20:34:56 GMT  
 Content-Type: application/xml
 Content-Length: 146    

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>  
 <InitiateMultipartUploadResult xmlns="http://obs.example.com/doc/2015-06-30/"> 
 <Bucket>bucket01</Bucket>  
 <Key>objectkey</Key>  
 <UploadId>DCD2FC98B4F70000013DF578ACA318E7</UploadId> 
 </InitiateMultipartUploadResult>