I have an HTTP listener with which I send the body of a JSON message.
{
"recipient":"bob@example.com",
"subject":"this is a test subject",
"body":"this is a test body email"
}
I am trying to pull these individual parameters into the next thread, but errors instead!
The result I want to achieve is " bob@example.com ", taken as input for the next action.
I tried things like
"@{triggers().outputs.body.Content.recipient}"
and various options, but I suspect I'm missing something!
edit to add
I am currently sending a send request via Powershell, although it will end up being more than C # in the end
$a = @"
{"recipient":"bob@example.com","subject":"this is a test subject","body":"this is a test body email"}
"@
Invoke-WebRequest -Uri https://httplistenerc743421edf234899a1315aa38c6398bc.azurewebsites.net/listen -Method POST -Body $a
source
share