Hello,
I am developing a custom connector for an API service for which the host url has a dynamic subdomain:
https://{{subdomain}}.alisqi.com/api
My question is from where can I collect the subdomain without altering the requests and place it inside the host url?
I see a policy for this can be created, my concern is that a 'subdomain' query param or header would be added to each request and it was not supposed to be there - this to only be able to get it with @queryParameters(‘subdomain’) or @headers(‘subdomain’).
I see in documentation that @connectionParameters(‘subdomain’) can also be used to take it from connection. The service is using an API key connection and the power automate UI editor doesn't seem to let me create a new parameter inside connection named 'subdomain' in order to collect it from connection and use policy to replace host url.
Can you guide me how it's best to approach this?
Thank you!