Fixed config info
This commit is contained in:
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{BASE_URL}}/airports/TEST
|
||||
url: {{API_URL}}/airports/TEST
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{BASE_URL}}/airports
|
||||
url: {{API_URL}}/airports
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/airports/KHEF?metars=true
|
||||
url: {{API_URL}}/airports/KHEF?metars=true
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/airports?page=1&limit=1000&metars=true
|
||||
url: {{API_URL}}/airports?page=1&limit=1000&metars=true
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/airports/import
|
||||
url: {{API_URL}}/airports/import
|
||||
body: multipartForm
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/airports
|
||||
url: {{API_URL}}/airports
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/metars?icaos=KJYO,KOKV,KMRB,KHEF,KIAD
|
||||
url: {{API_URL}}/metars?icaos=KJYO,KOKV,KMRB,KHEF,KIAD
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{BASE_URL}}/account/password
|
||||
url: {{API_URL}}/account/password
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/account/login
|
||||
url: {{API_URL}}/account/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/account/logout
|
||||
url: {{API_URL}}/account/logout
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/account/register
|
||||
url: {{API_URL}}/account/register
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
vars:pre-request {
|
||||
BASE_URL: http://localhost:5000
|
||||
API_URL: {{BASE_URL}}/api
|
||||
}
|
||||
|
||||
3
bruno/environments/Localhost.bru
Normal file
3
bruno/environments/Localhost.bru
Normal file
@@ -0,0 +1,3 @@
|
||||
vars {
|
||||
BASE_URL: http://localhost:8080
|
||||
}
|
||||
Reference in New Issue
Block a user