If you do
curl -X 'GET' 'http://localhost:10000/local-cluster/api/admin/devnet/genesis/hash' -H 'accept: */*' | wc -c
You will get that the output contains 65 letters instead of the expected 64! This is because there is a trailing newline returned by the command