feat: fix of FormUrlEncoded params
This commit is contained in:
parent
e4c7df9714
commit
a32bfb6e99
@ -42,7 +42,7 @@ public class HeadHunterService(ILogger<HeadHunterService> logger, IOptions<HeadH
|
|||||||
using var client = new HttpClient();
|
using var client = new HttpClient();
|
||||||
var form = new Dictionary<string, string>
|
var form = new Dictionary<string, string>
|
||||||
{
|
{
|
||||||
{ "client-id", _config.ClientId },
|
{ "client_id", _config.ClientId },
|
||||||
{ "client_secret", _config.Secret },
|
{ "client_secret", _config.Secret },
|
||||||
{ "code", authorizationCode },
|
{ "code", authorizationCode },
|
||||||
{ "grant_type", "authorization_code" }
|
{ "grant_type", "authorization_code" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user