accept upload type as query string instead of part of the url