replace email with username
This commit is contained in:
@@ -50,7 +50,7 @@ go build -o sheetless-server main.go
|
||||
```bash
|
||||
curl -X POST http://localhost:8080/auth/register \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"username":"testuser","email":"test@example.com","password":"password123"}'
|
||||
-d '{"username":"testuser","password":"password123"}'
|
||||
```
|
||||
|
||||
### Login:
|
||||
@@ -71,4 +71,4 @@ curl -X POST http://localhost:8080/api/sheets/upload \
|
||||
### List sheets:
|
||||
```bash
|
||||
curl -H "Authorization: Bearer TOKEN" http://localhost:8080/api/sheets
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user