tencent cloud

フィードバック

Uploading Files

最終更新日:2023-12-22 10:06:59

    Overview

    This document describes how to upload files to the backend service through API Gateway. Based on different backend types and file sizes, there are the following four options, and you should choose the most appropriate one according to your actual business needs:

    Upload Process

    
    
    
    If the backend is connected to an SCF API to upload a Base64-encoded file below 6 MB in size, we recommend you Base64-encode the file through the client and pass the encoded content to SCF first. Then, SCF will Base64-decode the content to complete the upload.
    If the backend is connected to an SCF API to upload a Base64-encoded file at or above 6 MB in size, we recommend you upload the file to COS through the client and pass the object address to SCF first. Then, SCF will pull the file from COS to complete the upload.
    If the backend is connected to an API of another service to upload a file below 16 MB in size, you only need to leave the parameters empty and keep everything pass-through.
    If the backend is connected to an API of another service to upload a file at or above 16 MB in size, we recommend you upload the file to COS through the client and pass the object address to the backend service first. Then, the backend service will pull the file from COS to complete the upload.
    お問い合わせ

    カスタマーサービスをご提供できるため、ぜひお気軽にお問い合わせくださいませ。

    テクニカルサポート

    さらにサポートが必要な場合は、サポートチケットを送信して弊社サポートチームにお問い合わせください。24時間365日のサポートをご提供します。

    電話サポート(24 時間365日対応)