cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

HTTP Post Request with parameters inside JSON Schema

I am trying to a send a HTTP Post request with some parameters in the JSON Schema.

 

PostPost

However, when this request is triggered, I get this error 

{"error":{"code":"TriggerRequestMethodNotValid","message":"The HTTP method for this request is not valid: expected 'Post' and actual 'GET'."}}

 

I notice that it is always sending a GET request even if I sent a post method.  How would I be able to send a Post request? I am trying to send some parameters within the body. I don’t want my parameters to be visible in the URL.

 

Get.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: HTTP Post Request with parameters inside JSON Schema

Hey @Buddy2019 

 

So you can do that by not defining any particular type while configuring the trigger. All you need to do is configure the JSON schema for the request. I have written this blog post that can help you with the entire configuration: 

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/Microsoft-Flow-as-a-Service/ba-p/3... 

 

You might wanna check this thread as well: 

https://powerusers.microsoft.com/t5/General-Flow-Discussion/Trigger-a-HTTP-Request-via-URL/m-p/36473...

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User III
Dual Super User III

Re: HTTP Post Request with parameters inside JSON Schema

Hey @Buddy2019 

 

So you can do that by not defining any particular type while configuring the trigger. All you need to do is configure the JSON schema for the request. I have written this blog post that can help you with the entire configuration: 

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/Microsoft-Flow-as-a-Service/ba-p/3... 

 

You might wanna check this thread as well: 

https://powerusers.microsoft.com/t5/General-Flow-Discussion/Trigger-a-HTTP-Request-via-URL/m-p/36473...

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Dual Super User III
Dual Super User III

Re: HTTP Post Request with parameters inside JSON Schema

Hey @Buddy2019 

 

Were you able to resolve? If this issue is resolved, please mark the response that helped you as 'Accept as Solution'. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (6,195)