Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question on API Interface to LNM Webserver

Featured Replies

First of all a big thanks for the wonderful program!
I am using the Webserver and I succeeded to write my first server page and can control now a LNM map with Axis and Ohs using an Xtouch Mini Controller.
The test.html example was very helpful.
 
The only question l have is if there is a way to get the airport information as .json object from the server. I saw a docu for an api interface in the web folder
but was not successful to use it. I tried
http://localhost:8965/api/airport/info?name=eddm

Or is there a way to send a .json sql query object to the server to get information from the sqlite database via the server?

Any help in form of an example would be very much appreciated.

 

  • Author

Thank you so much for your help! With this example i understand now the webapi.yaml file and got also other calls working. This is great!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.