Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

techmonad/learning-akka-http

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning-akka-http

Run application

   $ sbt run 

test rest endpoints

   // get all persons
   $ curl -XGET 'localhost:8000/person/getAll'
     output => [{"name":"Bob","email":"bob@gmail.com","age":32}]
   
   //get person by name
   $ curl -XGET 'localhost:8000/person/getByName?name=bob'
            output => [{"name":"Bob","email":"bob@gmail.com","age":32}]
            
    
    // save person  
   $ curl -XPOST 'localhost:8000/person/save' -d'{"name":"Joy","email":"joy@gmail.com","age":30}'
    // Person saved successfully

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.