I\'ve got a REST api which assumes a multipartfile in the a post method.
Is there any way to do this kind of posts in Dart / AngularDart because all the solutions I\
I finally found a way to post it as a multi-part form:
void uploadFiles() { var formData = new FormData(querySelector("#fileForm")); HttpRequest.request("/sp/file", method: "POST", sendData: formData).then((req) { print("OK"); }); }
is used in conjunction with