mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-27 16:40:50 +08:00
Add curl test comments to controllers
This commit is contained in:
@@ -4,6 +4,11 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import java.util.Map;
|
||||
|
||||
/*
|
||||
curl http://localhost:8080/api/admin/hello \
|
||||
-H "Authorization: Bearer <token>"
|
||||
*/
|
||||
|
||||
/**
|
||||
* Simple admin demo endpoint.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user