These are chat archives for angular/angular-2-ionic-2

3rd
Feb 2018
Shaad Khan
@shaad-khan
Feb 03 2018 03:12
Hi i am facing the issue with ionic native file transfer plugin its giving me below error from my node app api.
{ Error: Unexpected field,code: 'LIMIT_UNEXPECTED_FILE', field: 'file', storageErrors: [] }
jecihjoy
@jecihjoy
Feb 03 2018 06:38
hello everyone, im using angular to get data from an API, i have the credentials for accessing the server but im totally stack on the basic authentication stuff with anfgular
i have been trying to google but only got some sections of the auth which i find it hard to get
UncertaintyP
@UncertaintyP
Feb 03 2018 10:05
@jecihjoy You can use an HTTP interceptor to add a basic authentication header
@shaad-khan Can't help you with the question but this may be interesting to you: https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html