为什么我无法加载资源:net :: ERR_FILE_NOT_FOUND

问题描述:

我有另一个脚本与谷歌API,并没有问题。为什么eia gov api不起作用?我试过ie和chrome。这应该显示该国不同地区的每周燃料价格。为什么我无法加载资源:net :: ERR_FILE_NOT_FOUND

<!DOCTYPE html> 
<html lang="en"> 
    <head> 
    <meta charset="utf-8"> 
    <meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)"> 
    <meta name="dcterms.created" content="Mon, 23 May 2016 14:38:22 GMT"> 
    <meta name="description" content=""> 
    <meta name="keywords" content=""> 
    <title></title> 

    <!--[if IE]> 
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> 
    <![endif]--> 

    <script src="https//api.eia.gov/series/?api_key=00B011A9357DFF7E86E928531CFA26FD&series_id=PET.EMD_EPD2DXL0_PTE_SCA_DPG.W></script> 

</head> 

<body> 


<div id="California"></div> 
<div id="PET.EMD_EPD2DXL0_PTE_SCA_DPG.W"></div> 



</div> 

<script> 
document.getElementById(PET.EMD_EPD2DXL0_PTE_SCA_DPG.W).innerHTML 

</script> 




    </body> 
</html> 
+0

您的网址缺少冒号后'https'失踪在src“https”开头后,一个冒号和一个结束引号 – ray