mirror of
https://github.com/donl/gPanel.git
synced 2026-06-30 06:12:06 -06:00
updated api readme
This commit is contained in:
parent
60343f8130
commit
18fb087566
1 changed files with 18 additions and 3 deletions
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue