I am trying to create a flow that will send back an Update to IoT sensors that are used to monitor fuel levels. Once an Customer Asset record is updated, in this case a Name, I would like to call a POST Method that will Post to the specific ID (in the URL) and update the value from the Customer Asset to the API (server side). I was using the "Concat" expressions but with no luck. I should mention the field data type on the Customer Asset is a "Single Line Text", this needs to be converted to JSON format in order to be sent.
Add a compose and construct your url, map the name like below then under the HTTP post you can set the output of the compose. Please see below.
If you have any questions please let me know.
Hi @KMclendon ,
Please specify the url (endpoint which you want to call) in URI part as mentioned but use the body as follows:
Here is one online tutorial on how to make an HTTP POST request: https://flow.microsoft.com/en-us/galleries/public/templates/edfa8fde25644f149448c8d8cff44699/call-a-...
Please follow the steps in the tutorial to add required fields for an HTTP request in powerapps.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!