$addr = "1ZGADSt8YgXLP2x1gZ8QLATTQGszp2htEBfE81";
$ass = $_GET["asset"];
$a = 'curl -s --user multichainrpc:PASSWORD --data-binary \'';
$b = '{"jsonrpc": "1.0", "id":"curltest", "method": "issue", "params":["';
$c = '", "';
$d = '", 1000, 1';
$e = '] }\' -H "content-type: text/plain;" http://127.0.0.1:6298/';
$cmd = $a . $b . $addr . c . $ass . $d . $e;
Calling it from remote in a PHP file,
The raw result is
{"result":null,"error":{"code":-5,"message":"Invalid address"},"id":"curltest"}
Invalid address.
What am I doing wrong?