diff --git a/pkg/api/README.md b/pkg/api/README.md index dede893..8ad550c 100644 --- a/pkg/api/README.md +++ b/pkg/api/README.md @@ -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 ``` -