Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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);

...