Uploads file to URL

  • Parameters

    • url: string

      Upload URL

    • file: File

      File to upload

    Returns Promise<any>

    Promise of parsed JSON response