Forum Discussion
Create a function to call an API
Hi everyone!
Last month, I created a connection to an API where there was a list (format = text) and the function modified the Relative Path to call the API with every single element of the list and worked perfectly.
Now I'm trying to do the same for a different data source but with this new one, I need to add the authorization input. I tried to do it but I was not able to find the way to create the function bearing in mind the authorization. How could I do it to generate the function adding the authorization (it's always the same no matter the Game ID)?
Example of the API call for a simple game (it's what I want to create a function like the one above for this website, with the authorization input included in the call function):
Thank you so much for your time.
5 Replies
- lbendlinSuper User
You likely will have to run a separate API call to collect the bearer token.
- lbendlinSuper User
That's correct. As you can probably appreciate it is nearly impossible to help with API queries without access to said API (which you may not be willing to provide for understandable reasons). You're on your own here.
- lbendlinSuper User
we can give that a try.