Sunrise Sunset Times

פרמיום
על ידי Macca895 | מְעוּדכָּן 2달 전 | Weather
פּוֹפּוּלָרִיוּת

9.4 / 10

חֶבִיוֹן

583ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Getting error when call api

Hi,

getting below error I can call any api exmaple.

var client = new RestClient(“https://sunrise-sunset-times.p.rapidapi.com/getSunriseAndSunset?date=2021-10-31&latitude=51.5072&longitude=-0.1276&timeZoneId=America%2FNew_York”);
var request = new RestRequest(Method.GET);
request.AddHeader(“X-RapidAPI-Key”, “e5f0cb296cmshcb10044f320a282p1d80e7jsn7eb6212ac8f9”);
request.AddHeader(“X-RapidAPI-Host”, “sunrise-sunset-times.p.rapidapi.com”);
IRestResponse response = client.Execute(request);

					Below is error when i call in my code

{“The underlying connection was closed: An unexpected error occurred on a send.”}

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות