db set up, enroll api built
This commit is contained in:
10
.bruno/bruno.json
Executable file
10
.bruno/bruno.json
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "XIVPlan+DB",
|
||||
"type": "collection",
|
||||
"ignore": [".git"],
|
||||
"presets": {
|
||||
"requestType": "http",
|
||||
"requestUrl": "http://localhost:14014/api"
|
||||
}
|
||||
}
|
||||
3
.bruno/collection.bru
Executable file
3
.bruno/collection.bru
Executable file
@@ -0,0 +1,3 @@
|
||||
auth {
|
||||
mode: none
|
||||
}
|
||||
24
.bruno/enroll user.bru
Normal file
24
.bruno/enroll user.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: enroll user
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:14014/api/enroll
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "test",
|
||||
"pin": "1234",
|
||||
"email": ""
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
Reference in New Issue
Block a user