Forum Discussion
wkeicher
Helper III
6 years agoAPI Calls with Parameters = need help
Need Help with Invoking API Call with Paramaters. The API call is as follows. I am passing in the paramater (newsdate) https://api.sportsdata.io/v3/nba/scores/json/NewsByDate/2020-MAR-08 ...
- 6 years ago
I actually figured it out. I had to declare the (newsdate as text) =>
Source = Json.Document(Web.Contents(Text.From("https://api.sportsdata.io/v3/nba/scores/json/NewsByDate/"&(newsdate)&"
Thanks for your guidance.
v-yuta-msft
Community Support
6 years agowkeicher ,
I would suggest you to use fiddler to catch the actual http request and check if the URL in fiddler is same with that in power query.
Regards,
Jimmy Tao
wkeicher
Helper III
6 years ago
I actually figured it out. I had to declare the (newsdate as text) =>
Source = Json.Document(Web.Contents(Text.From("https://api.sportsdata.io/v3/nba/scores/json/NewsByDate/"&(newsdate)&"
Thanks for your guidance.