Right I understand the API, I was just giving an example -- what I meant was connections are refused when I send json requests, and curl is returning "NULL".
Sorry, that was me talking after "little bit of wine"
I have multiple voting methods coded for community testing (per utopianfuture's proposal) I just need a way to send and receive API calls in PHP. The below example returns NULL... Suggestions?
...
$result = get_web_page('http://node6.mynxt.info:7874/nxt?requestType=getBalance&account=10006970057300228034');
var_dump($result);
?>
You shouldn't be able to do that. Hopefully public nodes will have set allowedBotHosts to localhost or something similar.
So is it NOT working for public node, or is it NOT working for localhost?