Search the Community
Showing results for tags 'nodejs'.
It there a way using nodejs or smartnj to write shell/terminal commands like you can in free pascal like gReturnCode := fpsystem('echo "17" > /sys/class/gpio/export');
I'm wanting to create a very simple NodeJS server that filters/forwards JSON request and responses. Currently I have my SmartMobileStudio built web application using unit W3C.XMLHttpRequest to talk directly to a JSON REST store, but I want to insert this a server between these. I thought it was going to be a simple matter of reusing W3C.XMLHttpRequest, however it seems I shouldn't use this class since it is W3C - meaning web browser only? Do I need a NodeJS.XMLHttpRequest unit? Unfortunately my research has found that NodeJS doesn't support that XMLHttpRequest out of the b