Add pic upload support for post method