Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 380 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 380 Bytes

Scala ZIO example

To run:

sbt run

To register the service:

restate dp register http://localhost:9080 

To add a person to the address book:

curl -v http://localhost:8080/AddressBook/my-address-book/add --json '{"name":"Francesco"}'

To get the address book:

curl -v http://localhost:8080/AddressBook/my-address-book/get