Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Connector Development
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

 

  • Verified answer
    v-yueyun-msft Profile Picture
    on at
    Re: how to send application/x-www-form-urlencoded params in body when develop customs connector

    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

  • shinydeng Profile Picture
    47 on at
    Re: how to send application/x-www-form-urlencoded params in body when develop customs connector

    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

     

  • shinydeng Profile Picture
    47 on at
    Re: how to send application/x-www-form-urlencoded params in body when develop customs connector

    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

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399

Featured topics