Using this template helps us debug your issues more effectively 
Description
in client Server, creating Zoom Meeting from POSTMAN work fine but from inside MVC application,C# it gives an error.
Error
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.202.62.237:443
Which App Type (OAuth / Chatbot / JWT / Webhook)?
we tried to call the following API we used the JWT
JWT
Which Endpoint/s?
https://api.zoom.us/v2/users/me/meetings
We Used the following Code:
string ServiceUrl = API URL
HttpWebRequest req = WebRequest.Create(ServiceUrl) as HttpWebRequest;
req.ContentType = βapplication/jsonβ;
req.Method = βPOSTβ;
req.Headers[βAuthorizationβ] = "Bearer " + ConfigurationManager.AppSettings[βZoomTokenβ].ToString();
using (var streamWriter = new StreamWriter(req.GetRequestStream()))
{
string json = β{β +
β"created_at": "β + DateTime.Now + β",β +
β"duration": 120,β +
β"host_id": "",β +
β"id": 2,β +
""join_url": +
β"settings": {β +
β"alternative_hosts": "",β +
β"approval_type": 2,β +
β"audio": "both",β +
β"auto_recording": "",β +
β"close_registration": false,β +
β"cn_meeting": false,β +
β"enforce_login": false,β + β"enforce_login_domains": "",β +
β"host_video": true,β +
β"in_meeting": false,β +
β"join_before_host": true,β +
β"mute_upon_entry": false,β +
β"participant_video": false,β +
β"registrants_confirmation_email": true,β +
β"use_pmi": false,β +
β"waiting_room": false,β +
β"watermark": false,β +
β"registrants_email_notification": trueβ +
β},β +
β"start_time": "β + startDateTime + β",β +
""start_url": "https://zoom.us/s/"," +
β"status": "start",β +
β"timezone": "",β +
β"topic": "",β +
β"type": 2,β +
β"uuid": "ng1MzyWNQaObxcf3+Gfm6A=="β +
β}β;
streamWriter.Write(json);
streamWriter.Flush();
streamWriter.Close();
}
var resp = req.GetResponse() as HttpWebResponse;
string responseText = string.Empty;
using (var streamReader = new StreamReader(resp.GetResponseStream()))
responseText = streamReader.ReadToEnd();
Dictionary<string, string> zoomMeetingInfo = JObject.Parse(responseText).Children().Select(jp => (JProperty)jp)
.ToDictionary(p => p.Name.ToString(), p => p.Value.ToString());