Tip | We override the default user agent with but you may opt to use your own value instead. |
We then modify the web router configuration in the HttpServerVerticle
class to add a new route for triggering backups:
The code for this handler is the following:
The web client needs to issue a request on port 443 (HTTPS), and the path must be
/snippets
.is a helper for triggering the HTTP request with a JSON payload.