My goal tonight was to get my REST calls that work with Postman and .NET console apps to work with Flow, as well.
I'm actually trying to do something i had hoped the Cognitive Services connection would provide, but it does not, yet: Text To Speech.
as i said, the url and three headers (including a Bearer token) work with Postman. but Postman alone isn't enough for me to actually use the media bytes the Bing Speech synthesis resource returens.
in spite of the fact that the same configuration in Postman returns 200 status code, Flow keeps returning 403 errors, usually indicative of not using a working token. I have another Postman call that gets my authentication token (expires every 10 minutes), and i confirm the token works in Postman before i try it in Flow.
I have tried to infer correct usage through reasoning over the various Flow errors and output. I ran out of options when i saw, "The required raw authentication property 'scheme' is missing." All the more obscure because up to that point, I had been working with the following feedback in the Flow editor after failing to run, but "'scheme'" is not in the json (oh, and you can only use either parameter or value, evidently):
Authentication
{
"parameter": "*sanitized*",
"value": "*sanitized*",
"type": "Raw"
}
i've done my research here in Forum tonight, but I didn't see anything that actually helped any of us use HTTP with authentication. I saw a few posts from back in May warning us that we are on the bleeding edge and that we might be better off with Logic apps. I'm about to return to that fold, but thought I'd make one more appeal to the Flow team to give us a complete explanation of using HTTP actions, especially when Authentication is in play.