Closed bopjesvla closed 7 years ago
To be clear, if the first request is not made:
% first request removed
http_get([host(localhost), port(5000), path('/pengine/send'), search([format='json',id=Id,event='ask((
X = 1
),[])'])], json(Y), []),
writeln(Y)
The correct result is returned:
[data=[json([X=1])], ...]
Never mind, nested pengine_asks wouldn't work anyway, since they are executed synchronously.
Results in
As you can see, the response to the second request is the first nested query.