Failed to make a JSON-RPC request

Cryptocurrency News and Public Mining Pools

Failed to make a JSON-RPC request

I failed to make a JSON-RPC request with this command. Can anyone help?

$ curl localhost:8545 -X POST -H "Content-Type: application/json" --data "@data.json" curl: (52) Empty reply from server 

The size of data.json is about 500KB, and it contains:

[{"jsonrpc":"2.0", "method":"eth_call", "params":[{"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "data":"0x70a082310000000000000000000000007d980f10bc68b3b819d7ecfb9e8815db07863237"}, "latest"], "id":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20x7d980f10bc68b3b819d7ecfb9e8815db07863237"}, {"jsonrpc":"2.0", "method":"eth_call", "params":[{"to":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "data":"0x70a08231000000000000000000000000dc774a2ff8914a14ec49f3b3e8e277f90016a040"}, "latest"], "id":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20xdc774a2ff8914a14ec49f3b3e8e277f90016a040"}, ... ] 

submitted by /u/notooth1
[link] [comments]