hello we are trying to build postman collection for developer after that we are starting to code with android application
First request for IGB request token : https://id.twitch.tv/oauth2/token?client_id=96f63f6cfvejtqto0ncoh0rt03ma5i&client_secret=REMOVED&grant_type=client_credentials
after call this api i get response :
{
“access_token”: “REMOVED”,
“expires_in”: 4891877,
“token_type”: “bearer”
}
using this request token i try to call API :
curl --location --request POST ‘https://api.igdb.com/v4/games’
–header ‘Client-ID: Client ID’
–header ‘Authorization: Bearer REMOVED’
–header ‘Accept: application/json’
–header ‘Content-Type: application/x-www-form-urlencoded’
–header ‘Cookie: __cfduid=da9979fe9f5ba5fd12e31650f442304941607588259’
–data-urlencode ‘fields age_ratings,aggregated_rating,aggregated_rating_count,alternative_names,artworks,bundles,category,checksum,collection,cover,created_at,dlcs,expansions,external_games,first_release_date,follows,franchise,franchises,game_engines,game_modes,genres,hypes,involved_companies,keywords,multiplayer_modes,name,parent_game,platforms,player_perspectives,rating,rating_count,release_dates,screenshots,similar_games,slug,standalone_expansions,status,storyline,summary,tags,themes,total_rating,total_rating_count,updated_at,url,version_parent,version_title,videos,websites;=’
Response :
{
"Message": "User is not authorized to access this resource with an explicit deny"
}