That looks better. should work, hold on..
event.formData.append("import-context", new Blob([JSON.stringify(this.
importContext)], { type: "application/json"}),"import-context");
I think that should work. You forgot to add the filename to the part.
You realize none of this is connected to angular at all? ;)
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.