I need to send Username and password in header of the request and get some json as response using HTTP basic authorization.
I have set username and password in the controller using
http_basic_authenticate_with name: "dhh", password: "secret", except: :index
how should i send them using http header?
someone please help
© 2016 Powered by mzan.com design MATCHINFO