cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bryanhuang233
Level: Powered On

Is "application/json; charset=utf-8" the default Content Type for JSON requests? Is it possible to remove the charset?

I am using a custom connector to call our RESTFul services - Can anyone confirm if "application/json; charset=utf-8" is the default Content Type for JSON requests?

 

If so si it possible to remove the charset appended? Because our APIs don't support chatset and needs the Content Type to be just "application/json"... Thanks!

2 REPLIES 2
Super User
Super User

Re: Is "application/json; charset=utf-8" the default Content Type for JSON requests? Is it possible to remove the charset?

Hi @bryanhuang233, yes there should be no problem, I've regularly seen it as just application/json

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

bryanhuang233
Level: Powered On

Re: Is "application/json; charset=utf-8" the default Content Type for JSON requests? Is it possible to remove the charset?

Thanks for the quick response.

 

But how can I make sure the requests made by Flow to our endpoints are with "application/json" only without the charset? I created my connector from openapi definition (v2) and setting "produces" to "application/json" does not seem to work?

 

 


@RobElliott wrote:

Hi @bryanhuang233, yes there should be no problem, I've regularly seen it as just application/json

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.


 

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,657)