master
uploadFileWithProgress
endpoint: string, data: FormData, onProgress: (event: ProgressEvent) => void, method?: 'POST' | 'PATCH', etag?: string,