amp-list throw error 400

时间:2017-02-28 11:32:35

标签: amp-html accelerated-mobile-page

尝试实现amp-list,它可以正常使用示例json文件,但是当我尝试从上游api(HTTPS和CORS启用)获取数据时,我会犯错误400

<amp-list width="auto" height="100" layout="fixed-height" src="URL"> <template type="amp-mustache" id="amp-template-id"> <div><a href="{{hosted_url}}">{{title}}</a></div> </template> </amp-list>

0 个答案:

没有答案