I have to work on Windows, However I have some difficulties to convert a UNIX command into a Windows command.
I have a node.js server which execute this command :
const execSync = require('child_process').execSync;
...
...
let output = execSync('output=$(wget --post-data '
+ '"' + text + '" ' + '"localhost:' + port
+ '/?properties={"annotators": ' + '"' + annotators + '", "outputFormat": "'
+ format + '"' + "}' -qO -) && echo $output', { encoding: 'utf8' });
Do you have an idea ?