Does javascript API support to request a http server or call a console program?

It seems that’s not support.

No HTTP calls, but you can use the Process API to launch an external process.

Depending on what you need, you can also use Tiled Commands, which can also be used via scripting. The benefit of Commands is they can also be started via the GUI with no need for scripting and they can be easily customised via the GUI, which makes them ideal for things like starting your game set to load the current map.

1 Like

That’s cool. Thank you kindly again. ;D

1 Like

Actually HTTP calls can also be done, using the XMLHttpRequest QML Type | Qt QML 6.6.2.


Yes. I get it. Thank you very much.