I'm trying to replicate a curl command in node and can't seem to get the same results