def create
      host = Host.from_api(params)

      if host.valid?
        respond_with host, location: api_host_url(host) do |format|