Skip to content

rolerman/RestService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestService

Spring Jersey REST-ful Web Services
DB: MongoDB
BuildTool: Maven
Configuration: resources/persistence.properties
WebApp: target/rest-service-0.0.1.war

Create(Method: POST):
http://localhost:8080/rest/contacts/createOrUpdate
example body: {"address":"testAddress","name":"testName","internationalPhone":"111-111","localPhone":"222-222"}

Update(Method: POST):
http://localhost:8080/rest/contacts/createOrUpdate
example body: {"address":"testAddress","name":"testName","id":"54502827ea7032f7fffff8e4","internationalPhone":"111-111","localPhone":"222-222"}

getAllContacts(Method: GET):
http://localhost:8080/rest/contacts/getAll

getContactByName(Method: GET):
http://localhost:8080/rest/contacts/getByName/{name}

deleteContact(Method: DELETE):
http://localhost:8080/rest/contacts/delete/{id}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages