Skip to content

crh225/Java_Crud_Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST CRUD Api using Spring Boot and an embedded database.

Requirements

  • Maven
  • JDK 7

Running

To build and start the server simply type

$ mvn spring-boot:run

from the root directory.

Using

You can see what urls are available using curl:

$ curl localhost:8080

You can view existing notes objects using a similar request:

$ curl localhost:8080/api/notes

and can create new ones using a POST:

$ curl -X POST -H "Content-Type:application/json" -d '{ "body" : "I am a note"}' localhost:8080/api/notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published