title: I want to add header with access_token for flutter upload image
body: <p><strong>My API requirement is</strong></p>
  <pre><code>URL: /user/upload-profile-image
  
  method= POST
  
  header--
  
  Accesstoken: &quot;access_token&quot;
  
  content-type = multipart/form-data
  </code></pre>
  <p><strong>This is my code:</strong></p>
  <pre><code>Future getUploadImg(File _image) async {
  
    String apiUrl = '$_apiUrl/user/upload-profile-image';
  
    final length = await _image.length();
  
    final request = new http.MultipartRequest('POST', Uri.parse(apiUrl))
        ..files.add(new http.MultipartFile('avatar', _image.openRead(), length));
  
    http.Response response = await http.Response.fromStream(await request.send());
  
    print(&quot;Result: ${response.body}&quot;);
  
    return JSON.decode(response.body);
  
  }
  </code></pre>