R
R
Rishat Sultanov2017-08-06 12:53:31
Node.js
Rishat Sultanov, 2017-08-06 12:53:31

How to call authorization?

Good afternoon :)
There is such a package.
https://www.npmjs.com/package/express-basic-auth
I installed it, I get a 401 error in the console. Which says that you need to log in. But I don’t understand how to log in from the front part, is it possible somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
yurygolikov, 2017-08-06
@rishatss

Maybe.
Read what http basic auth is in general.
Understand right away.
https://developer.mozilla.org/en-US/docs/Web/HTTP/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question