Skip to content

conorkenn/diceforge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP

API Usage

$  curl -X POST http://localhost:8080/roll -H "Content-Type: application/json" -d '{"sides":20}'
{"message":"Critical Success","result":20}
$  curl -X POST http://localhost:8080/roll -H "Content-Type: application/json" -d '{"sides":20, "advantage": true}'
{"message":"Successfully rolled dice","result":16}
$  curl -X POST http://localhost:8080/roll -H "Content-Type: application/json" -d '{"sides":20, "advantage": true, "disadvantage":false, "modifiers":["1d8", "5"]}'
{"message":"Successfully rolled dice","result":30}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published