Jump to content
Sign in to follow this  
huha001

Question on API Interface to LNM Webserver

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites

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!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...