allow deploy from get as well as post