Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Querying json

Hi and thanks for all the support so far!

 

Another question, this time about querying from an application that generates data in json format. Is it possible at all? Or do you need to create a script in another application and then import data from a generated json file into PowerBI?

I've recieved this from the software supplier (edited):

 

# Authentication

curl --silent --cookie-jar cookies.txt --data-urlencode "username=ttr" --data-urlencode "password=osj" https://abc.com/login > /dev/null

 

# Get ST by ID

curl --cookie cookies.txt --header "Content-Type: application/json" --request GET https://abc.com/rest/json/1234 > results.json

 

# Log out

curl --cookie cookies.txt https://abc.com/logout

6 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi amitchandak I would like to create a connection to this source above and import the data

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak this video is about importing from json file. I am looking for ways to create a connection to this source above and import the data.

      • v-kelly-msft's avatar
        v-kelly-msft
        Community Support

        Hi  Anonymous ,

         

        Import is a way to connect json files,so what do you actually wanna do?

         

        Best Regards,
        Kelly

        Did I answer your question? Mark my post as a solution!

  • v-kelly-msft's avatar
    v-kelly-msft
    Community Support

    Hi  Anonymous ,

     

    Try to connect "Web"-"advanced",then fill in as below:

    Best Regards,
    Kelly

    Did I answer your question? Mark my post as a solution!