docs: 添加 API docs
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
meta {
|
||||
name: Authentication
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: none
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Login
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BaseURL}}/auth/login
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "helix",
|
||||
"password": "123456"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "Helix API",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
auth {
|
||||
mode: none
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
vars {
|
||||
BaseURL: http://localhost:8080
|
||||
}
|
||||
Reference in New Issue
Block a user