DDF-908  updated endpoint to refine content type based on the
file extension for create requests