Add doc clarifying that there is no blackd client (#859)

Resolves #854

The first sentence of this is pretty uncontroversial. (Though I wasn't
sure exactly where in the text to put it.)
I thought it would also be nice to show the `curl` test with a tiny
statement that actually reformats.
This commit is contained in:
Stephen Rosen 2019-05-20 13:57:09 -04:00 committed by Zsolt Dollenstein
parent b85c345dbc
commit a4399f3054

View File

@ -844,6 +844,14 @@ Options:
-h, --help Show this message and exit.
```
There is no official blackd client tool (yet!). You can test that blackd is
working using `curl`:
```
blackd --bind-port 9090 & # or let blackd choose a port
curl -s -XPOST "localhost:9090" -d "print('valid')"
```
### Protocol
`blackd` only accepts `POST` requests at the `/` path. The body of the request