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

It seems that’s not support.

1 Like

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.

2 Likes

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

2 Likes

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

4 Likes

Yes. I get it. Thank you very much.

1 Like