Added airport data to map
This commit is contained in:
20
bruno/Users/Change Password.bru
Normal file
20
bruno/Users/Change Password.bru
Normal file
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: Change Password
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{BASE_URL}}/account/password
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
"New Password"
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
const apiKey = res.body
|
||||
bru.setVar("bearer",apiKey)
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
meta {
|
||||
name: Create API Key
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/auth/key
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"email": "john.doe@gmail.com",
|
||||
"password": "fake_password123"
|
||||
}
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
const apiKey = res.body
|
||||
bru.setVar("bearer",apiKey)
|
||||
}
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/auth/login
|
||||
url: {{BASE_URL}}/account/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/auth/logout
|
||||
url: {{BASE_URL}}/account/logout
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/auth/register
|
||||
url: {{BASE_URL}}/account/register
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user