Add HTTP endpoints to README
This commit is contained in:
parent
ca7dd49dc6
commit
bf318ffcd5
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
||||||
speculator allows you to preview pull requests to the matrix.org specification.
|
speculator allows you to preview pull requests to the matrix.org specification.
|
||||||
|
|
||||||
|
It serves two HTTP endpoints:
|
||||||
|
- /spec/123 which renders the spec as html at pull request 123.
|
||||||
|
- /diff/rst/123 which gives a diff of the spec's rst at pull request 123.
|
||||||
|
|
||||||
To run it, you must install the `go` tool, and run:
|
To run it, you must install the `go` tool, and run:
|
||||||
`go run main.go`
|
`go run main.go`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue