Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status js-standard-style

tilnefna

Service for nominating people for something

API

POST /api/nominate

{
  name: 'Geir',
  mobile: '1726347',
  nomineeName: 'Jonas',
  nomineeMobile: '1983645'
}
$ curl http://localhost:3000/api/nominate -d '{"name": "Geir", "mobile":"87654", "nomineeName":"Jonas", "nomineeMobile":"1928273"}'

POST /api/message

{
  mobile: '1726347',
  message: 'You rock!'
}
$ curl http://localhost:3000/api/message -d '{"mobile":"87654", "message":"You rock!"}'

POST /api/{WEBHOOK_TOKEN}/confirm

Setup

License

MIT

About

Service for nominating people for something

Resources

License

Releases

No releases published

Packages

No packages published