angular.dart icon indicating copy to clipboard operation
angular.dart copied to clipboard

HTTP Service doesn't support sending FormData

Open bgourlie opened this issue 11 years ago • 2 comments

Per HttpRequest docs:

If specified, sendData will send data in the form of a ByteBuffer, Blob, Document, String, or FormData along with the HttpRequest.

The http service only accounts for a handful of the supported types, and will otherwise attempt to serialize the object as json. See here: https://github.com/angular/angular.dart/blob/master/lib/core_dom/http.dart#L71

bgourlie avatar Jun 06 '14 04:06 bgourlie

Was this ever implemented?

Thanks

tadas-subonis avatar Nov 24 '14 20:11 tadas-subonis

@chirayuk can you take some time to consider effort and whether this should be part of 1.1 please?

naomiblack avatar Dec 09 '14 22:12 naomiblack