web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to write custom co...
Power Apps
Unanswered

How to write custom connector that accepts a POST body?

(0) ShareShare
ReportReport
Posted on by 173

I am writing a custom connector that has a very very simple POST method that just bounces back the exact content you sent it in the body. This works fine from everywhere except within PowerApps itself.

 

Here is my server side code:

 

camer314_1-1604540256583.png

 

This is the resulting Swagger:

 

camer314_2-1604540315486.png

 

And this is the error I get in Flow when I try and use it.

 

camer314_0-1604540193885.png

 

Does anybody know whats going on? It seems like the most basic of use cases ever!

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @camer314 :

    In the screenshot you provided, I noticed that the error message "invaild input parameters".Could you check the setting of the parameter 'body' in the custom connector?

    whether the parameter value {"A":"B"} you expected is a string or an object?As far as I know,parameter does not support value of type object.

    1.JPG

    I found some related links, hope they are useful to you:

    Create a custom connector from an OpenAPI definition 

    Custom Connector: Header "content-type" not sent to service 

    Custom connector action with x-www-form-urlencoded content-type 

    Best Regards,

    Bof

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard