Answer the question
In order to leave comments, you need to log in
How to use the API?
want to get list of games from https://rawg.io/apidocs . The site says that you need to use the key. I can't figure out what the request should look like and how to use the key
I make the request like this:
getGames() {
return fetch(' https://api.rawg.io/api/games ', {
method: 'GET',
headers: {
' Content-Type': 'application/json',
},
})
}
Answer the question
In order to leave comments, you need to log in
And to read the page on the first link is weak?
There literally in the second block the scheme of request is resulted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question