Support request body passed in as file or stdin