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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / x-www-form-urlencoded ...
Power Automate
Unanswered

x-www-form-urlencoded post in custom connector

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard