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

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

javascript - Handling constructor related functions while testing with mocha and sinon -