Currently playing around with Angular 2 RC.
Is there any tutorial/article that would help me understand uploading a file to the back-end via a REST call?
I've been through this, but it feels like there should be a more convenient way of doing it.
Currently playing around with Angular 2 RC.
Is there any tutorial/article that would help me understand uploading a file to the back-end via a REST call?
I've been through this, but it feels like there should be a more convenient way of doing it.
If you wait for RC2, you will have the ability to use other payloads than text ones.
For example
Blob
ones:Arraybuffer
ones:FormData
ones:It would much easier to handle binary content for HTTP requests. Right now, it's difficult (and hacky) since Angular2 only accepts text payloads as input.