I am trying to call web api from console application. I followed the step given on MSDN. I have also used the sample code given on MSDN. I just modified the credentials in the sample and run it. I am getting response as " (401) Unauthorized"
when I tried to call the URL.
Links : https://msdn.microsoft.com/en-us/library/mt770369.aspx
https://[domain].com/api/data/v8.2/leads?$select=firstname
What am I missing ?