Comments (3)
Hi John,
For the API header, you can make it work in one of 3 ways:
(1) Define the header in the swagger for every operation. This will mean the end user provide the info in every API call.
(2) Use the "Set header" policy in your connector, and use a hard-code a static value there. Works well if you plan to deploy the connector for a limited environment and you dont want to bother the end user to provide this value.
(3) Add a connection paremter, and then use the "Set header" policy to stamp the header picking the value from the connection parameter. See the Azure Key Vault example for how to use a connection parameter.
You can also do (1) and (2) by making the header parameter. That way, if the key is not provided a default will be used. One of the customers I spoke to yesterday used that approach.
It will be great if you can submit your custom connector as a sample.
from powerplatformconnectors.
@johnnliu sounds similar to how the Harvest API works, I used option 1 suggested by @schabungbam in my connector as the Harvest API requires the Harvest Account Id with every request.
from powerplatformconnectors.
Closing this since @garrytrinder @schabungbam posted some suggestion. Please reopen if the issue isn't resolved.
from powerplatformconnectors.
Related Issues (20)
- Telegram Bot (Independent Publisher) issue
- GPT-SAPB1
- [BUG] <title>Access Denied Error in Uploading multiple files is S3 Buckets HOT 1
- [BUG] Connector Ownership Acknowledgement
- ISV Studio closed, Updated process in Microsoft Docs, Partner Center lacks certification option as per 11/06/2024 HOT 1
- HubSpot CMS (Independent Publisher) issue HOT 1
- [SERVICE TEAM SUPPORT REQUEST] Power Apps getting internal server error HOT 1
- [BUG] Operations are not found, resulting in failures for Power Automate connectors. HOT 1
- OpenAI GPT (Independent Publisher) issue
- PowerAutomatem flow: issue with Convert result set rows from array to objects
- Remove Of ISVStudio HOT 1
- Partner Centre Certification Process
- Telegram Bot (Independent Publisher) issue
- Partner Centre Package structure
- [BUG] <HTTP Connector reference is missing>
- [FEATURE REQUEST] Add Attachment Data Card and Enhance Patch Function to Handle Attachments in Power Apps
- [FEATURE REQUEST] General Availability of Snowflake Connectors
- [BUG] Imported Solution containing a connector doesn't display its description
- [BUG] Workday HCM Connector responds with 404 HOT 2
- [BUG] Blank PDF file uploaded to s3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerplatformconnectors.