W
W
WessBorland2019-10-28 21:11:29
JavaScript
WessBorland, 2019-10-28 21:11:29

How to send a post request with authorization data to api? (ntlm node auth)?

There is api access to which is carried out using domain authorization.
Gentlemen, tell me how a post request from the front will look like, for accessing "/token" using axios or xhr Is
it possible to pass a login and password along with the request? (Something like HttpClient c #) and is this approach practiced?
Maybe there is some analogue for react and js

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IDONTSUDO, 2019-10-29
@WessBorland

This should solve your problem.
https://www.npmjs.com/package/ntlm-auth

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question