rest server create