How to retrive vlan Address to client trough api?

Hi Everyone!
I hope you guys can help me!

I have to get the vlan address to client connected but his are not logged yet. I have to do this trough wk_API. wich command i have to use?

Or just someway to client browser get the which wlan is connected, but before login on mikrotik

I’m using javascript and html to do this.

Thanks!!

When you start the page the you can get the information only put on yor javascript source or html the variables like $(ip), $(interface-name), $(server-address) and others.


sample