|
自 2021 年 1 月起,傳統文件類型將不再可用。您可以轉換傳統檔案或下載 PDF。進一步瞭解

Upload a single file with Python

1

評論

1 條評論

  • Benji4

    The issue is easily resolved by specifying the MIME-type of the file:

    files = {
        'file': (file_name, file_to_upload, 'text/csv')
    }

    1

登入寫評論。