frontend added and socket io
This commit is contained in:
@@ -5,14 +5,18 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/api/authentication/login
|
||||
url: {{url}}/api/auth/sign-in/email
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Origin: http://localhost:3000
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "matthes01",
|
||||
"email": "blake.matthes@alpla.com",
|
||||
"password": "nova0511"
|
||||
}
|
||||
}
|
||||
|
||||
16
brunoApi/auth/getSession.bru
Normal file
16
brunoApi/auth/getSession.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: getSession
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/api/auth/get-session
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -13,7 +13,7 @@ patch {
|
||||
body:json {
|
||||
{
|
||||
"value" : "0",
|
||||
"active": "true"
|
||||
"active": "false"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user