Move backend files into a sub folder.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: Login as admin user
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/api/users/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"id": "15a13dc7-029d-4eab-a63d-c1e96f90241d",
|
||||
"password": "password"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: Login as standard user
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/api/users/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"email": "standard.user@codiki.org",
|
||||
"password": "password"
|
||||
}
|
||||
}
|
||||
11
backend/rest-client-collection/Codiki/Users/Sign in.bru
Normal file
11
backend/rest-client-collection/Codiki/Users/Sign in.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Sign in
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/users
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
Reference in New Issue
Block a user