mirror of
https://github.com/guilhermewerner/java-spark
synced 2025-06-15 03:34:18 +00:00
Update Aplicacao.java
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user