Changed upload to use either post or get to check for the fanout flag.