Modify Power Automate, PCF response via Chrome without server changes.

Modify Power Automate, PCF response via Chrome without server changes.

Sometimes we need to test an application with different values coming from the server, deploying the changes repeatedly on the server can be time consuming. This article explores how can we use chrome/edge browser's content overriding to change the response in real time.


Changing the power automate JSON response

For this example, we'll use an HTTP triggered power automate which responds with the JSON of all the active accounts.


Change the response with a local folder

Open the network tab, go to the request, right click and select override content


P

Use select folder.

Click on select folder and choose a local folder, this will open the file in edit mode.


Make desired changes.

Change the content as desired on the right side panel, e.g. we've changed from "Fourth coffee" to "Fifth Coffee". Save the file (Ctrl +s)


Your modified response is now served.

Where can this be used

PCF debugging, web resource debugging, web app debugging, including but not limited to only JSON types.


要查看或添加评论,请登录

Shashank Bhide的更多文章

社区洞察

其他会员也浏览了