Load some config data to web page

#1

Hello.
Are there any examples to load some current config data to web page?
If I correctly understand, in loading page process I should send RPC command to get current config data, after to wait json with config. I have some difficulties with waiting json data in web js code. How can I do it?

#2

wifi-setup-web-ui might help.