Skip to content

Commit af6a9dd

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 08d0e09 + f66b332 commit af6a9dd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# WebAddon
2+
3+
Intuitive http server functionality for [Skript](https://www.github.com/bensku/Skript) using the [Spark Framework](https://github.com/perwendel/spark).
4+
5+
Example:
6+
```
7+
web server on port 8080:
8+
get /users/%{_user}%:
9+
set body of event-response to "%ip of event-request% requested user ##%{_user}%, from the path %path of event-request%"
10+
get *:
11+
send back "oh shit"
12+
post /postTest:
13+
send back "noted"
14+
```

0 commit comments

Comments
 (0)