2
votes

How to use angular2 HTTP API for tracking upload progress?

I can do it with native javascript XHR method. But XHR method does not provide XSRF protection whereas HTTP API provides XSRF protection by setting XSRF_TOKEN cookie.

I need both XSRF protection and file upload progress.

Please help.

Thanks in advance.