update README.md

This commit is contained in:
Jarrad Hope 2019-09-30 07:52:04 +03:00
parent fd2a9fb49e
commit ccfedbcd76
2 changed files with 5 additions and 3 deletions

View File

@ -20,7 +20,7 @@ Smart Pesa is a USSD/SMS Interface to Smart Contracts, #defi & Decentralised App
- [Principles](#principles)
- [Vision](#vision)
- [Goals](#goals)
- [Todo](#todo)
- [TODO](#todo)
- [License](#license)
## Introduction
@ -29,7 +29,7 @@ TODO
### Purpose
To allow coordination of source code and binary releases among a group of actors you don't know.
To connect & enable anyone connected to a mobile network accesss to Smart Contracts, #defi & Decentralised Applications.
### Features
@ -109,7 +109,7 @@ S-Pesa's vision is to provide people access to decentralised technologies as far
- TODO
### Todo
### TODO
- handle USSD HTTP POST
- menu system
- pin-based registration system (key gen and encrypt with truncated hash of phone number and pin?)

View File

@ -46,6 +46,8 @@ proc onRequest(req: Request): Future[void] =
let
uri = parseUri(req.body.get())
params = uri.query.split('&').mapIt($(it.split('=')))
echo(req.body.get().split('&').mapIt($(it.split('='))))
echo(params)
req.send("Hello")
else:
req.send(Http404)