It's my first time, I am trying to set up a custom REST API.
My plan: I want to get some Events-Data from a Swiss Post REST API in my Power Apps Application, based on some Dataverse Tables.
Therefore I set up a custom connector with a Postman-File. Somehow, I have problmes with the authentication process. When I do the test, I can't login. I can't figure out, what the problem ist. Here are some information:
The setup of the Connector:
The security setup (Client id & Client secret I got from Swiss Post):
The actions setup. I will use the "GetEvents" method in my app:
Finally the test:
And the result of the test:
Something I did wrong with the security part. When I go back after testing to the security tab, the Client id, Client secret and the Refresh URL are gone:
Can someone give me a hint, what the problem could be?
Here are also the infos from Swiss Post about the REST API