Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

97
Vistas
Steam API fetching empty response

I am using steam API for one of my projects, but the response from API is null/empty. It is working fine with Postman but in browser it is not.

API: http://api.steampowered.com/ISteamApps/GetAppList/v0001/

let apiInfo = async function() {
        fetch(`http://api.steampowered.com/ISteamApps/GetAppList/v0001/`, {
            method: 'GET',
            mode: 'no-cors'
        })
        .then(response => { console.log(response); return response.text()})
        .then((dataFromServer) => {
            console.log(dataFromServer);
        })
        .catch(error => window.alert(error));
    }

And my response looks like this:

Response {type: 'opaque', url: '', redirected: false, status: 0, ok: false, …}
body: null
bodyUsed: false
headers: Headers {}
ok: false
redirected: false
status: 0
statusText: ""
type: "opaque"
url: ""
[[Prototype]]: Response

The API fetches information about ID's associated with the games. Can anyone tell me what I am doing wrong or how can I make it work. Any help will be appreciated.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda