Overhaul refactor. Still things in progress
This commit is contained in:
11
bruno/Airports/Delete Airport.bru
Normal file
11
bruno/Airports/Delete Airport.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Delete Airport
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{BASE_URL}}/airports/TEST
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
11
bruno/Airports/Delete All Airports.bru
Normal file
11
bruno/Airports/Delete All Airports.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Delete All Airports
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{BASE_URL}}/airports
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
11
bruno/Airports/Get Airport.bru
Normal file
11
bruno/Airports/Get Airport.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Get Airport
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/airports/TEST
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
11
bruno/Airports/Get All Airports.bru
Normal file
11
bruno/Airports/Get All Airports.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Get All Airports
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/airports
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
28
bruno/Airports/Insert Airport.bru
Normal file
28
bruno/Airports/Insert Airport.bru
Normal file
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: Insert Airport
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/airports
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"icao": "TEST",
|
||||
"name": "Test Airport",
|
||||
"category": "unknown",
|
||||
"iso_country": "",
|
||||
"iso_region": "",
|
||||
"municipality": "",
|
||||
"elevation_ft": 0,
|
||||
"latitude": 0,
|
||||
"longitude": 0,
|
||||
"runways": [],
|
||||
"frequencies": [],
|
||||
"public": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user