Update Aplicacao.java

This commit is contained in:
GuilhermeWerner
2021-09-17 14:40:56 -03:00
parent 15cf8e5e68
commit 5b4b79a929

View File

@ -8,6 +8,8 @@ public class Aplicacao {
private static ProdutoService produtoService = new ProdutoService();
public static void main(String[] args) {
staticFiles.location("/");
port(6789);
post("/produto", (request, response) -> produtoService.add(request, response));