user68175: I'd like to get information from my bitcoin node running on a cloud server to be used to make changes in my NodeJS app running on my computer. So, in the bitcoin.conf file, should I have something like walletnotify=curl http://My.IP.Address:PortAppUses/walletnotify.js?tx=%s? If that's right, what do I write in the walletnotify.js file to simply save the incoming transaction id as a variable?

user26873: In your example you are telling it to place the transaction id as a GET request in the URI under the tx parameter. 
walletnotify=curl http://My.IP.Address:PortAppUses/walletnotify.js?tx=%s

All you would need to do inside of walletnotify.js is pull the tx GET, in nodejs express that would be something like:
const express = require("express");
const app = express();
const request = require("request");

app.get("/", function(req, res){

    let transactionId = req.query.tx;

    //do whatever with transactionId

}); 


68175: <p>I'd like to get information from my bitcoin node running on a cloud server to be used to make changes in my NodeJS app running on my computer. So, in the bitcoin.conf file, should I have something like <code>walletnotify=curl http://My.IP.Address:PortAppUses/walletnotify.js?tx=%s</code>? If that's right, what do I write in the walletnotify.js file to simply save the incoming transaction id as a variable?</p>
 26873: <p>In your example you are telling it to place the transaction id as a GET request in the URI under the tx parameter. </p>

<pre><code>walletnotify=curl http://My.IP.Address:PortAppUses/walletnotify.js?tx=%s
</code></pre>

<p>All you would need to do inside of <code>walletnotify.js</code> is pull the <code>tx</code> GET, in nodejs express that would be something like:</p>

<pre><code>const express = require("express");
const app = express();
const request = require("request");

app.get("/", function(req, res){

    let transactionId = req.query.tx;

    //do whatever with transactionId

}); 
</code></pre>
