Forum Discussion

cccarv82's avatar
cccarv82
Frequent Visitor
4 years ago
Solved

Best way to acquire data from an API using token and parameters

I want to acquire data from an API connection using a Token authentication and parameters.

 

Basically I want to do this:

 

curl -X GET \ -H "Content-Type: application/json" \ -H "Shortcut-Token: $SHORTCUT_API_TOKEN" \ -d '{ "page_size": 123, "query": "type:feature" }' \ -L "https://api.app.shortcut.com/api/v3/search"

 

I have the URL "https://api.app.shortcut.com/api/v3/" and the Token as parameters in Power Query.

 

How can I do that ?

1 Reply