diff --git a/Json-service.md b/Json-service.md index fb1496a..ebe1b4f 100644 --- a/Json-service.md +++ b/Json-service.md @@ -2,9 +2,10 @@ signal-cli (proposed release) supports a JSON RPC server that accepts input on `signal-cli --output=json -u _USERNAME_ jsonRpc` -It is possible to communicate with the server over the network using named pipes. For example, the following command sets up a JSON RPC signal-cli server listening on local port 9182: +It is possible to communicate with the server over the network using named pipes. For example, the following commands set up a JSON RPC signal-cli server listening on local port 9182: -`nc -l -p 9182 sigsocket &` + mkfifo sigsocket + nc -l -p 9182 sigsocket & To communicate with the server from the same machine (localhost), issue the command: