Forum Discussion
Get Data from WEB LIKE JSON string
- 6 years ago
Is this a public API? If so, you can provide it and the community can provide the needed M code.
Does the Source step of your query look like this? (check by clicking on Advanced Editor or viewing the Formula Bar in the query editor)
let Source = Json.Document(Web.Contents("http://mywebapi")) in SourcePasted this from here - https://www.edureka.co/community/26876/how-can-i-connect-my-web-api-with-power-bi-reports
If this works for you, please mark it as solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
If you are trying to connect to a Web API that gives a JSON response, use the Web connector instead. It will recoginize the response as JSON and you navigate/extract your data from there.
If this works for you, please mark it as solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
- amaleranda6 years agoPost Patron
mahoneypat it did not give me that option.
- mahoneypat6 years agoMicrosoft Employee
Is this a public API? If so, you can provide it and the community can provide the needed M code.
Does the Source step of your query look like this? (check by clicking on Advanced Editor or viewing the Formula Bar in the query editor)
let Source = Json.Document(Web.Contents("http://mywebapi")) in SourcePasted this from here - https://www.edureka.co/community/26876/how-can-i-connect-my-web-api-with-power-bi-reports
If this works for you, please mark it as solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat