Fixed curl request to get nodes