When I call
headers["Authorization"]="Basic " + System.Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes("myid:mypassword"));
post = new WWW(fURL, form.data,headers);
I got error like this.
ActionController::InvalidAuthenticityToken
in AccountsController#auth_user
does anybody have success setting Authorization header?