How do I upload the data of the seven Qiniu storage base64?

Source: Internet
Author: User
Tags crc32 crc32 checksum
How do I upload the data of the seven Qiniu storage base64?

Reply content:

How do I upload the data of the seven Qiniu storage base64?

Request Package:

POST /put/
  
   
    
   /key/
   
    
     
    /mimeType/
    
     
      
     /crc32/
     
      
       
      /x:user-var/
      
       
         Authorization: UpToken 
        
          Content-Type: application/octet-stream 
          
         
       
     
      
    
     
   
    
  
   

Or

POST /putb64/
  
   
    
   /key/
   
    
     
    /mimeType/
    
     
      
     /crc32/
     
      
       
      /x:user-var/
      
       
         Authorization: UpToken 
        
          Content-Type: application/octet-stream 
          
         
       
     
      
    
     
   
    
  
   
    • : File size, required. The future may support incoming-1 means that the file size will be the HTTP request body.
    • : optional, if not specified: if Uptoken. Savekey exist is based on savekey production key, otherwise hash value as key.
    • : The MIME type of the file. Optional, default is Application/octet-stream.
    • : The CRC32 checksum value of the file contents. Optional, no validation is not specified.

Return Package:

200 OK {  hash: 
  
   
    
   }
  
   

There's no one to answer.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.