Php 阻止通过http加载混合活动内容

Php 阻止通过http加载混合活动内容,php,https,http-headers,mixed-content,Php,Https,Http Headers,Mixed Content,我正在通过https运行我的网站,我正在尝试调用http上的API。我尝试的是: //api.openweathermap.org/data/2.5/weather http://api.openweathermap.org/data/2.5/weather 但是没有成功,请您建议。此API似乎没有HTTPS支持。在OpenWeatherMap论坛上 HTTPS仅在专业和企业帐户中可用。在免费帐户中,此功能不可用 请参阅另一篇SO帖子,其中API调用是在外部进行的,并单独提供

我正在通过https运行我的网站,我正在尝试调用http上的API。我尝试的是:

//api.openweathermap.org/data/2.5/weather
http://api.openweathermap.org/data/2.5/weather


但是没有成功,请您建议。

此API似乎没有HTTPS支持。在OpenWeatherMap论坛上

HTTPS仅在专业和企业帐户中可用。在免费帐户中,此功能不可用

请参阅另一篇SO帖子,其中API调用是在外部进行的,并单独提供