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.
For a deeper look into our World Check One API, look into:
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.
Duplicate case: Resolution has been provided on the other case.
I presume you are attempting to consume the GET call?
In the C# code sample, please update the "gatewayurl" from "v1" to "v2" and "gatewayhost" from "rms-world-check-one-api-pilot.thomsonreuters.com" to "api-worldcheck.refinitiv.com" and replace the requestendpoint from "https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/groups" to "https://api-worldcheck.refinitiv.com/v2/groups"
Please make the above code changes and let me know if it resolves the issue.