Closed sampad789 closed 5 years ago
Hi @sampad789 , thanks for opening the issue. I will check that this week.
Hi again!
After quick checking I can notice couple of mistakes, so req.params
object has the param from url (which is in your case matchId
), so instead, you should define as following:
const {matchId} = req.params;
And the url has to be the full url path from hltv.org, which is what is wildcard (*)
for.
For example in your case this would be: localhost:8000/matches/2330203/euronics-vs-valiance-united-masters-league
hi , i am trying to use this api for school project but the get matches feature is just giving an empty array as response , i'll post the picture below .!! let me know if i'm doing something wrong .
api/match is my own defined path so nvm on that !!!