...
Or you can use DS ClientId
and ClientSecret
instead, which we can provide for you.
Then we need to add this token After getting the token, we add it to HttpClient header:
Code Block |
---|
HttpClient _client; _client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token); |
...