updated api readme

This commit is contained in:
George Shaw 2017-10-30 15:51:58 -05:00
parent 60343f8130
commit 18fb087566

View file

@ -1,8 +1,23 @@
# A list of API calls
# Working API Calls
```
```go
// User Authentication API
/*
JSON Data Required:
{
"user": "test",
"pass": "test",
}
*/
func UserAuthentication(res http.ResponseWriter, req *http.Request) bool
// User Registration API
/*
JSON Data Required:
{
"user": "test",
"pass": "test",
}
*/
func UserRegistration(res http.ResponseWriter, req *http.Request) bool
```