Hi @swaminawale,
if you use a cloud flow it's not necessary to use HTTP, there is a new trigger if you just type in power page in power automate. In your page you will have to setup the flow action within your javascript file.
A sample code is listed at the end of that link: https://learn.microsoft.com/en-us/power-pages/configure/cloud-flow-integration.
You can also get a HTTP response if you use the action: Respond to PowerPage
shell.ajaxSafePost({
type: "POST",
contentType: "application/json",
url: "_api/cloudflow/v1.0/trigger/44a4b2f2-0d1a-4820-bf93-9376278d49c4",
data: JSON.stringify({"eventData":JSON.stringify({"Email": "abc@contoso.com", "File":{"name":"Report.pdf", "contentBytes":"base 64 encoded string"} })}),
processData: false,
global: false
})
.done(function (response) {
})
.fail(function(){
});
--------------------------------------------------------------------------------------
Hope that helps.
If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.