Hi, getting the response “unsupported content type” when making a request.
Working with C#:
public static IRestResponse Meetings()
{
RestClient client = new RestClient();
client.BaseUrl = new Uri("https://api.zoom.us/v2");
RestRequest request = new RestRequest();
request.AddParameter("userId",
"support@oltinternational.net", ParameterType.UrlSegment);
request.Resource = "users/{userId}/meetings";
request.AddParameter("access_token", "my access token is put here yadda yadda");
request.Method = Method.POST;
var response = client.Execute(request);
return response;
}
Response is “unsupported content type”, the content type is application/json .
Any help would be great.