| Muhammad Hassan
How to configure custom connector to accept text instead of json in body
Custom connector is an amazing way of connecting Power Platform to third party systems. We can use custom connectors in Power Automate as well as Power Apps. But sometimes the third party API’s are not configured in a proper way which makes it difficult to configure them in a Custom Connector. In this article I’ll give a walk-through of a scenario where the API accepts string in body while custom connector only allows json objects to be configured in the body.
So, first we need to configure the body of the action to accept json object. You can add any sample json object as we will delete it anyways. After updating the custom connector now turn on Swagger editor.
In the swagger editor, go to the action and search for the body.
Now remove all the properties under the body and set the schema to string.
Now you are good to send text in the body.
Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.