public Publisher<Void> addReport(HttpServerRequest req, HttpServerResponse resp) {
return req.receive()
.aggregate()
.asString()
.doOnNext(string -> {
// todo :: make some handy job
System.out.println(string);
})
.then()
.doOnSuccess(__ -> resp.status(HttpResponseStatus.OK)
.addHeader(ACCESS_CONTROL_ALLOW_ORIGIN, "*") // CORS
.sendString(Mono.just("")));