Monkey and HTTP requests

Community Forums/Monkey Talk/Monkey and HTTP requests

semar(Posted 2011) [#1]
All,
how can I interface a Monkey App with the outside world, using for example an HTTP GET/POST, or an AJAX call ?

Regards,
Sergio.


TartanTangerine (was Indiepath)(Posted 2011) [#2]
I posted a similar thread on the official forums : http://www.monkeycoder.co.nz/Community/posts.php?topic=77


gameproducer(Posted 2011) [#3]
I was thinking the same. "Threaded" style would be a total killer.


MikeHart(Posted 2011) [#4]
Atm you need to modified the target code or a create new module with its native code. Not sure if Mark will come up with something like this.


Murilo(Posted 2011) [#5]
Hmmm. I'd have expected this to be supported from the off tbh.


gameproducer(Posted 2011) [#6]
I think it's GREAT that monkey was released and sure, there's always "this and that feature should have been there". But we'd be looking at spring 2013 before all the wishlist features would be there. At its current form, it's already looking to be a one great looking thing.

Good that monkey has escaped. Now it can be patched to have more features and stuff.


TartanTangerine (was Indiepath)(Posted 2011) [#7]
I made an Async HTTP module : http://www.monkeycoder.co.nz/Community/posts.php?topic=137


semar(Posted 2011) [#8]
GREAT, thanks indiepath :)


Htbaa(Posted 2011) [#9]
Doesn't Monkey support sockets yet? Else I don't really see how one would do proper HTTP requests.

Perhaps it could be done by wrapping 0mq/zeromq? I believe that's fairly cross platform compatible.