是否有没有CORS的示例API?

时间:2019-03-05 10:57:15

标签: python ajax rest bokeh

当前,我需要一个示例API来测试我的Bokeh项目上的AjaxDataSource(已从该https://github.com/toddmotto/public-apis中检查了所有API)

但是所有这些都需要跨域资源共享(CORS)

 WHERE e.empid IN (3,4,5)

所以我有这个问题

failed

有没有不需要CORS的示例API?

谢谢

1 个答案:

答案 0 :(得分:0)

尝试使用此api:https://www.geojs.io/docs/v1/endpoints/country/

例如

cy.exec('npm run build').then((result) => {
  console.log("code---->", result.code);
  console.log("stdout---->", result.stdout);
  console.log("error---->", result.stderr);
})