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 x-www-form...
Power Apps
Unanswered

How to send x-www-form-urlencoded body?

(0) ShareShare
ReportReport
Posted on by 12

Hi,

 

Instead of JSON, how to send the data in the body by x-www-form-urlencoded?

I mean the format is:

name=maggie

instead of 

{"name":"maggie"}

 

the import from sample only allows JSON:

截屏2021-12-28 07.07.34.png

Many thanks!

 

Categories:
I have the same question (0)
  • paulbeck1 Profile Picture
    244 on at

    @Syndicate_Admin  answer is perfect.   Instead of JSON use the encode format which uses key pairs in the body separated by ampersands.  I also needed to send a Url in the body to an API and this shall need escaping.  For me Postman was working but I could not get the formatting correct so I used Fiddler (you could also use Postman's proxy but I'm ancient).  Working Postman request to capture the underlying http request formattingWorking Postman request to capture the underlying http request formatting

    It's worth understanding HTML form encoding if you want the background: Understanding HTML Form Encoding: URL Encoded and Multipart Forms - DEV Community

     

    Power Automate successful Custom HTTP Connector POST requestPower Automate successful Custom HTTP Connector POST request

  • Takescake Profile Picture
    3 on at

    nice work thanks for this

  • ogoggio Profile Picture
    6 on at

    adding a header with content type worked for me, ty

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard