Fix search publication mechanism.
This commit is contained in:
18
rest-client-collection/Codiki/Users/Login as admin user.bru
Normal file
18
rest-client-collection/Codiki/Users/Login as admin user.bru
Normal file
@@ -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 {
|
||||
{
|
||||
"id": "5ad462b8-8f9e-4a26-bb86-c74fef5d11b6",
|
||||
"password": "password"
|
||||
}
|
||||
}
|
||||
11
rest-client-collection/Codiki/Users/Sign in.bru
Normal file
11
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