smartface.io - How perform basic authentication with SMF.Net.WebClient? -


with smf.net.webclient how can perform basic authentication?

webclient_validation.requestheaders = ['content-type : application/json','www-authenticate ' + credentialsencoded]; 

or

webclient_validation.requestheaders('authenticate ' + credentialsencoded) 

there documents webclient object , it's properties.

you can check links below :

http://www.smartface.io/developer/guides/data-network/rest-services-2/ http://docs.smartface.io/html/p_smf_net_webclient_requestheader.htm

also, can check smartface in action project, there webclient objects in it. open welcome page in smartface app studio.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -