doc: update code example for Windows in stream.md
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc, stream
Commands with single quotes fail in cmd.exe
shell (while being OK in Git Bash for Windows):
> curl localhost:1337 -d '{}'
error: Unexpected token ' in JSON at position 0
> curl localhost:1337 -d '"foo"'
error: Unexpected token ' in JSON at position 0
> curl localhost:1337 -d 'not json'
error: Unexpected token ' in JSON at position 0curl: (6) Couldn't resolve host 'json''
Commands with double quotes are OK in both cmd.exe
shell and Git Bash for Windows.