I tried with a REST POST api call that returns a json value first, but the activity failed to initialize the output variable. (the fast api web server was called, the value was returned by the web server, it failed both as a json and a json string).
I didn't initialize the schema, however.
I then tested string retrieval as a workaround, to no avail.
Before trying to handle authentication, I'd like to be able to get some useable output without it.
I don't really care about microsoft.com, I however expected that a GET call to a web server would put the resulting value in a string variable as output.
Edit:
I've just tried 3 things:
have the fast api web server return:
1. the string '{ "a" : 3}'
2. the dictionary { "a" : 3}
3. the jsonresponse based on the same dictionary
@app.get('/api/ad/humanrequest2')
@validateKey()
async def humanRequest2g(request: Request):
return JSONResponse({"a" : 3})
@app.get('/api/ad/humanrequest3')
@validateKey()
async def humanRequest3g(request: Request):
return {"a" : 3}
@app.get('/api/ad/humanrequest4')
@validateKey()
async def humanRequest4g(request: Request):
return '{ "a" : 3}'
On the power virtual agent side, I've set it this way:

None of the 3 attempts worked.
Then I changed the response type from my calls to "Record" based on sample data

The schema in question is defined here:
kind: Record
properties:
a: Number
The output of all 3 attempts is the same, no output provided.
