api: provided by steamspy http://www.steamspy.com/api.php
$.ajax({
url:"http://www.steamspy.com/api.php?request=appdetails&appid=730",
type:"GET",
success(res){
console.warn(JSON.parse(res))
}
})
Access to XMLHttpRequest at" http://www.steamspy.com/api.p." from origin "null" has been blocked by CORS policy: No" Access-Control-Allow-Origin" header is present on the requested resource.
the front end could not make a direct request, so I used php to request it. As a result, I reported a 503