You can upload a file to the application server site using OData syntax in Web API v2. Single files are uploaded in a single operation. Large files are uploaded in separate parts in multiple operations, and each separate part is combined together at the end in a final commit operation.
You cannot upload certain file formats or file name extensions. For more information,
see Site Settings node properties.