This commit is contained in:
Michael Bykovski 2017-09-23 18:13:21 +02:00
commit f77fd4d4b0

View File

@ -75,13 +75,13 @@ The params have to look like this (there are not default values for the params!)
## Example
```
```javascript
webserver.onRequest(
function(request) {
console.log("O MA GAWD! This is the request: ", request);
webserver.sendResponse(
request.responseId,
request.requestId,
{
status: 200,
body: '<html>Hello World</html>',