user3029: I have nxt (nxtcoin) server installed, but since its built completely different from Bitcoin and uses Java. How do you use the command line to control a NXT client to send, generate addresses, etc?
I want to use this for interfacing with a PHP cms system (drupal) and curious how to interface with the NXT system.

user23317: I'm trying to figure this out too.
Instead of running the server interface at http://127.0.0.1:7876 try http://127.0.0.1:7876/test . Looks like a bunch of API calls. I'm playing with it right now.

user26465: use curl
for instance:

curl -s --data "requestType=getAlias&aliasName=google" http://127.0.0.1:7876/nxt

So in PHP

$cmd = 'curl -s --data "requestType=getAlias&aliasName=google" http://127.0.0.1:7876/nxt';
  $jsonString = exec($cmd);


3029: <p>I have nxt (nxtcoin) server installed, but since its built completely different from Bitcoin and uses Java. How do you use the command line to control a NXT client to send, generate addresses, etc?</p>

<p>I want to use this for interfacing with a PHP cms system (drupal) and curious how to interface with the NXT system.</p>
 23317: <p>I'm trying to figure this out too.</p>

<p>Instead of running the server interface at <a href="http://127.0.0.1:7876" rel="nofollow">http://127.0.0.1:7876</a> try <a href="http://127.0.0.1:7876/test" rel="nofollow">http://127.0.0.1:7876/test</a> . Looks like a bunch of API calls. I'm playing with it right now.</p>
 26465: <p>use curl</p>

<p>for instance:</p>

<blockquote>
  <p>curl -s --data "requestType=getAlias&amp;aliasName=google" <a href="http://127.0.0.1:7876/nxt" rel="nofollow">http://127.0.0.1:7876/nxt</a></p>
</blockquote>

<p>So in PHP</p>

<blockquote>
  <p>$cmd = 'curl -s --data "requestType=getAlias&amp;aliasName=google" <a href="http://127.0.0.1:7876/nxt" rel="nofollow">http://127.0.0.1:7876/nxt</a>';
  $jsonString = exec($cmd);</p>
</blockquote>
