在W803的開發板上做如下的測試,返回如下的錯誤,知道問題的大佬幫忙分析分析,訪問其他的網站是沒有問題題的,
int wm_weather_httpc_get(void)
{
wm_http_client_config_t cfg = { 0 };
cfg.method = WM_HTTP_CLIENT_REQUEST_TYPE_GET;
cfg.keep_alive = 1;
cfg.content_type = WM_HTTP_CLIENT_CONTENT_APPLICATION_JSON;
cfg.event_handler = wm_httpc_event_handle;
return wm_httpc_example_send_req(&cfg, "https://api.seniverse.com/v3/weather/daily.json?key=SUCC86skWZuKkdxCM&location=ip&language=zh-Hans&unit=c&start=0&days=3", NULL, 0);
}