-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
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
Set request headers for REST authentication #28
Comments
Since its actually doing a form POST, I think it would be pretty hard to If you don't have to support ie browsers less than 10 then you should use https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/FormData If you do have to worry about supporting IE 8 and IE 9, then you could Thanks for the feedback Tom On Sat, Apr 20, 2013 at 4:01 PM, Spiros Kabasakalis <
Tom Wilson This e-mail may contain information that is confidential, privileged or |
Thanks Tom,I used FormData,I could care less for old IEs,this is a demo for developers anyway (Angular with PHP backend -Yii framework).I ended up using this
|
Awesome!! Thx Tom Sent from my iPhone On Apr 27, 2013, at 3:35 PM, Spiros Kabasakalis notifications@github.com Thanks Tom,I used FormData,I could care less for old IEs,this is a demo for
//stuff to do on error
— |
Hi,great directive!.I am working on an angular app featuring basic REST CRUD operations.Problem is,my create action features an image upload(along with other text fields),and the REST API authenticates the requests with custom headers.With ajax this is no problem,you can set custom headers on the client,but with iframe technique that your directive uses-this is a problem.Do you have any idea on how to solve this?Thanks in advance!
The text was updated successfully, but these errors were encountered: