2

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.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.