update
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get Me
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/auth/me
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{token}}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: Login
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/auth/login
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"email": "",
|
||||
"password": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Register
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/auth/register
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"center_name": "Ayoub Test",
|
||||
"center_address": "test",
|
||||
"center_contact_email": "test@gmail.com",
|
||||
"center_contact_phone": "+393477005174",
|
||||
"center_vat_number": "123456789",
|
||||
"admin_email": "lefhim.a@gmail.com",
|
||||
"admin_password": "pass123!"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
meta {
|
||||
name: Authentication
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user