mirror of
https://github.com/demostf/demoserver.git
synced 2026-06-03 05:44:07 +02:00
update readme
This commit is contained in:
parent
5397a3e9ed
commit
0235a9d348
1 changed files with 10 additions and 2 deletions
12
README.md
12
README.md
|
|
@ -6,8 +6,16 @@ Basic server that parses demos provided either by upload or url
|
||||||
|
|
||||||
### Upload
|
### Upload
|
||||||
|
|
||||||
Send a POST request with the demo file to example.com:5000/parse
|
Send a POST request with the demo file as raw body to `example.com/parse`
|
||||||
|
|
||||||
### Url
|
### Url
|
||||||
|
|
||||||
Send a POST request with the url of a demo file to example.com:5000/url
|
Send a POST request with the url of a demo file as raw body to `example.com/url`
|
||||||
|
|
||||||
|
#### Custom port
|
||||||
|
|
||||||
|
You can configure the port the server listens on by setting the `PORT` environment variable.
|
||||||
|
|
||||||
|
#### Docker
|
||||||
|
|
||||||
|
A preconfigured docker image with the server is available as `demostf/demoserver`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue