3 ms·
It's due to what appears to be a bogus error message in the response to <https://openairportmap.org/api/airport/KLAX https://openairportmap.org/api/airport/KLAX
by mdaniel 4y ago
It's due to what appears to be a bogus error message in the response to <https://openairportmap.org/api/airport/KLAX https://openairportmap.org/api/airport/KLAX>:
"remark": "runtime error: Query timed out in \"query\" at line 6 after 29 seconds."
I say bogus error message because for sure that URL did not take 29 seconds to return (221ms according to Firefox). I'd guess the query is malformed and their api interprets the error as a "timeout" instead of "error"
- lisper 4y agoHow did you find that API link?
- mdaniel 4y agoOpen the developer tools, choose the network tab, click on "XHR" to filter down the noise, type LAX into the search box, and then watch the things that change. After it presented the error message, I looked for things named KLAX in the list, clicked on that row, clicked on the Response pane and saw that silliness
- lisper 4y agoAh. Thanks.