Add basic http upload function