Angular GET request to download a file with Auth header -


i have spring controller serves file @ url localhost:8080/files/1/file.avi

the request requires valid authorization token in request header.

in angular app call api auth header , start download of file. how can that?

i have seen answers point redirecting url cannot need pass header call.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -