Skip to content

cicekhayri/payara-micro-javaee-crud-rest-starter-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

payara-micro-javaee-crud-rest-starter-project

Payara Micro JavaEE CRUS REST Starter Project

Run Application

$ mvn package payara-micro:start

Endpoints

POST

curl -d '{"task":"task1", "description":"description"}' -H "Content-Type: application/json" -X POST http://localhost:8080/restapi/api/todos

GET curl http://localhost:8080/restapi/api/todos

PUT curl -d '{"task":"task2", "description":"description2"}' -H "Content-Type: application/json" -X PUT http://localhost:8080/restapi/api/todos/{id}

DELETE curl -X "DELETE" http://localhost:8080/restapi/api/todos/{id}

Releases

No releases published

Packages

No packages published

Languages