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
Post a Comment