Skip to content

Question on API Interface to LNM Webserver #988

Answered by KOKAProduktion
albar965 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @albar965 ,

just downloaded the current 2.8.8 and was able to successfully perform the call in question via

http://localhost:8965/api/airport/info?ident=eddm

So i guess the issue the user is having is coming from the wrong parameter name (using "name" instead of "ident") and a missing error response from the API helping to identify the problem. (Raw response just says "Airport not found")

The proper usage and features of the API should be derived from the specification at littlenavmap/web/webapi.yaml

On a side note: The OpenLayers implementation under localhost:8965/ol seems broken at 2.8.8 as its JS bundle littlenavmap/web/ol/index.bundle.js is not being delivered by the server (404).…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@albar965
Comment options

albar965 Jan 24, 2023
Maintainer Author

@hubha001
Comment options

Answer selected by albar965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants