On $pas2js/demo/fcldb the're several examples to load data from a restserver.
I compiled restserver and run it. It opens a console and start the server on port 3000.
Then I load demodb in Lazarus and compile it with pas2js. After compiling I start demodb.html in my browser (firefox). It shows a button wit text 'fetch countries'. But the button doesn't work. I see nothing in the console of the restserver.
If I do a request in my browser with url
http://localhost:3000/countries the json file is loaded and showed on screen. That means restserver is running.
Demorest is doing nothing. It doesn't show anything on screen.
'Data Abstract for Pas2JS' works.
How do I get feetback from the restserver?