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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -