accept Json using the default client
This commit is contained in:
parent
5dea4ee707
commit
ea314d1078
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ namespace BookAStar.Helpers
|
|||
client.DefaultRequestHeaders.Authorization =
|
||||
new System.Net.Http.Headers.AuthenticationHeaderValue(
|
||||
"Bearer", MainSettings.CurrentUser.YavscTokens.AccessToken);
|
||||
client.DefaultRequestHeaders.Add("Accept", "application/json");
|
||||
return client;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue