Commit a4399f30 authored by Stephen Rosen's avatar Stephen Rosen Committed by Zsolt Dollenstein
Browse files

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.
parent b85c345d
Loading
Loading
Loading
Loading
+8 −0
Changes for README.md: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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