readme: add docs

Continued from #2

cc @rlidwka
The example should keep the `Content-Type` header setting, otherwise it's really weird.