|
Klassiska filtyper är inte längre tillgängliga för användning från och med januari 2021. Du kan överföra dina klassiska filer eller ladda ner en PDF. Läs mer

Upload a single file with Python

1

Kommentarer

1 kommentar

  • Benji4

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

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

    1

Du måste logga in om du vill lämna en kommentar.