Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Connector Development
Unanswered

x-www-form-urlencoded post in custom connector

(0) ShareShare
ReportReport
Posted on by

Hi all, I am creating my first custom connector, so please be kind 🙂

 

In my connector I need to create a post request with the following format:

 

curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \
-d 'username={username}&password={password}' \
"https://{server}/api/{version}/auth"

 

From what I can read I need to use the swagger editor in order to convert the JSON body to the "x-www-for-urlencoded" format. This is as far as I have gotten, but no matter how I edit it, I can't seem to get the username and password correct. I have tried doing this request in postman and it works fine, it is the conversion to the custom connector that does not work.

 

mathias4_0-1687883210449.png

 

Any help is much appreciated!

 

Br. Mathias

 

 

 

Categories:

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics