Working through airport query params

This commit is contained in:
2025-04-07 08:13:22 -04:00
parent 769762dfa7
commit b770c343ec
10 changed files with 171 additions and 286 deletions

View File

@@ -1,7 +1,7 @@
meta {
name: Delete Airport
type: http
seq: 4
seq: 5
}
delete {

View File

@@ -1,7 +1,7 @@
meta {
name: Delete All Airports
type: http
seq: 5
seq: 6
}
delete {

View File

@@ -1,7 +1,7 @@
meta {
name: Get Airport
type: http
seq: 2
seq: 3
}
get {

View File

@@ -1,11 +1,17 @@
meta {
name: Get All Airports
type: http
seq: 3
seq: 4
}
get {
url: {{BASE_URL}}/airports
url: {{BASE_URL}}/airports?icaos=00AA&page=1&limit=1000
body: none
auth: none
}
params:query {
icaos: 00AA
page: 1
limit: 1000
}

View File

@@ -0,0 +1,15 @@
meta {
name: Import Airports
type: http
seq: 2
}
post {
url: {{BASE_URL}}/airports/import
body: multipartForm
auth: none
}
body:multipart-form {
: @file(/Users/bsherriff/git/private/aviation-weather/data/airports_2023-12-21.json)
}