我有一个WordPress站点,它有一个叫做JSON API的插件.这个插件为WordPress中的内容提供了JSON格式.我可以通过在php头上添加Header("Access-Control-Allow-Origin:*");在WordPress上启用CORS.但是,当我try JSON API插件提供的url时,CORS不再起作用.
This is the wordpress site were I'm doing the tests... I used the test cors website to check if it was working and it is... http://kiwa-app.loading.net/
但是,当我try 使用JSON api提供的url时,它已经不起作用了.我仍然有错误没有"访问控制允许起源"
I will apreciate some help thanks!!!