Home HTTP basic authorization in rails
Reply: 0

HTTP basic authorization in rails

user354 Published in March 19, 2018, 12:53 am

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

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.301687 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO