NAV/BC Proxy Module
install @thenavpeople/navbc-proxy
This module contains functionality to connect to Dynamics NAV and Business Central; and supports both basic and ntlm authentications.
The module depends on @thenavpeople/base-app and you have to pass Nav/BC credentials.
const navbcProxy = require('@thenavpeople/navbc-proxy')({
"webserviceBaseUrl": "",
"username": "",
"password": ""
});
The accepted parameters and their default values for initilising this module are as follows:
{
"webserviceBaseUrl": "",
"authorizationType": "Basic", //Basic, Ntlm
"username": "",
"password": "",
"domain": "", //For Ntlm
"debugMode": false
}