Search code examples
apiauthenticationodata

How to access OData URLs with authentication


I have a OData Server which returns me a json. When I accessing the URL through a browser i need to input the username/password. Doesn't accept the entries which I do in the pop-up. Need to cancel it and then it shows me a dialog box after which i can see the required json.

I am not able to figure out the kind of authentication in use.

Using basic authentication in Postman client is not working. Any suggestions as to how do I go about using this URL both in postman and inside an Anuglar JS or Node JS program.


Solution

  • Thanks for the input.

    But I got access to the code implementation which is accessing the URI which I want.

    So There is a Sharepoint/C# application in the universe which is doing a Forms based authentication to get the data required. :/

    Will try to reverse engineer that get it working in my Node App.

    Cheers. :)