We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A new property ajaxSettings will be added that will allow setting own tokens in headers or allow developers to setup advanced ajax options.
ajaxSettings
The text was updated successfully, but these errors were encountered:
d3aacbf
Hi,
I would like to pass a Token as the http header along with this fileupload http request, Can you give me an example code for this purpose ?
I'm using this with in an angularjs application, this is currently what i have done.
zentieraDirectives.directive('fileinput', function($rootScope) { return { restrict: 'A', link: function(scope, element, attrs) { $(element).fileinput({ 'uploadUrl' : $rootScope.STATIC_URL+'users/addPhoto', ajaxSettings : { headers: { Token: 'Bearer ' } } }); } }; });
Header value appearing in wrong place, refer the attached image
Sorry, something went wrong.
No branches or pull requests
A new property
ajaxSettings
will be added that will allow setting own tokens in headers or allow developers to setup advanced ajax options.The text was updated successfully, but these errors were encountered: