I started looking into sharepoint and from what I understood from my company architecture is
It runs an on premise hosted server.
SharePoint uses Active directories to authenticate the users.
How do I authenticate and get the results of a list view from an external system outside the network?
I tried using postman and basic auth with username and password to authenticate into SharePoint using this documentation
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
I tried
http://sp-stg/_api/contextinfo
and I get 401 unauthorized.
Can someone point me on what I am missing. Thanks in advance