javascript - How to add request headers when uploading a file using iframe? -


my form should upload file , should work older versions of ie. that's why use hidden iframe. thing need add couple of headers request required 3rd party api i'm using. how set request headers when using iframe?

you cannot.

xmlhttprequest api browsers provide allows setting of http headers javascript.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -