I wanna get zoom api access token for my Spring Boot application. I wanna add my base url several parameters than an header. I couldn't find any library for that. how can i build exact same http below?(It a c# code)
RestClient restClient = new RestClient();
RestRequest request = new RestRequest();
request.AddQueryParameter("grant_type", "authorization_code");
request.AddQueryParameter("code", code);
request.AddQueryParameter("redirect_uri", ConfigurationManager.AppSettings["RedirectUrl"]);
request.AddHeader("Authorization", string.Format(AuthorizationHeader));
restClient.BaseUrl = new Uri("https://zoom.us/oauth/token");
var response = restClient.Post(request);