401 unauthorized error from c# code sample

Options

I am using the c# code sample from dev community.

from POSTMAN the request is working, but when I am trying from c# code its getting 401 unauthorized error.


Answers