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 Apps / how to send applicatio...
Power Apps
Answered

how to send application/x-www-form-urlencoded params in body when develop customs connector

(0) ShareShare
ReportReport
Posted on by 47

I'm newer on powerapp.  and i tried to create custom connector to access an API which have application/x-www-form-urlencoded params in body. please see below postman screen.  the api need to be provided application/x-www-form-urlencoded data in body,

{

q: “xxx”,

format: csv

}

shinydeng_0-1702520995094.png

here is my swagger code

shinydeng_2-1702521241995.png

 

but when test this connector. The API returns 400 error because the body is empty. 

 

shinydeng_1-1702521159011.png

 

Categories:
I have the same question (0)
  • shinydeng Profile Picture
    47 on at

    and , i tried to use body instead of formData.  after test the parammeter was passed to body, but not formData.

    shinydeng_0-1702523169614.png

    Here is test result , API returns 400 bad request, it means the body is not form data 

    shinydeng_1-1702523233532.png

     

  • shinydeng Profile Picture
    47 on at

    Finally, i updated swagger as below,  I'm very strange that it returns 400 bad request failed on custom connector test .  but when I imported those swagger script to postman collection, it can work fine.  

     

    shinydeng_0-1702526135867.png

     

  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @shinydeng 

    This case seems that it is similar to this you have post:
    Solved: Re: customs connector test failed but those swagge... - Power Platform Community (microsoft.com)

     

    If convenient, Can you mark the reply to close this case which can help more people in this forum !!

    Thanks in advance!

     

    Best Regards,

    Yueyun Zhang

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard