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

Community site session details

Session Id : bN89CV+0r8GlRCzgL3Dt/O
Power Automate - Connector Development
Unanswered

x-www-form-urlencoded post in custom connector

Like (0) ShareShare
ReportReport
Posted on 27 Jun 2023 16:34:01 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:
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 786 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 724 Super User 2025 Season 2

#3
stampcoin Profile Picture

stampcoin 290 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics