HTTP PUT method

 @param [String] path
497990
def put(path, params)
      headers = {}

      request('PUT', path, params.to_json, headers) do |resp|
        yield(resp) if block_given?
      end
    end
511157
def post(path, options={}, raw=false, unformatted=true)
      request(:post, path, options, raw, unformatted)
    end
73316
def do_put(self, from_path, to_path):
        
        from_file = open(os.path.expanduser(from_path), "rb")

        self.n.put(self.current_path + "/" + from_path, to_path)
256112
def post(path, params = {})
      uri = URI.join(API_DOMAIN, path + "?access_token=#{token}")

      req = Net::HTTP::Post.new(uri)
      req.set_form_data(params)

      res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |https|
        https.request(req)
      end
      JSON.parse(res.body)
    end
591361
def post(path: nil, payload: nil, headers: {}, query: {})
      execute(method: :post, path: path, headers: headers, query: query, payload: payload)
    end
548543
def put(path, token, query: {}, payload: {})
      request(:put, path, token, query, payload)
    end
591265
def put(path, data, options = {})
      uri = build_uri(path, options)

      request = Net::HTTP::Put.new(uri.request_uri)
      set_authorisation_header(request)
      request.set_form_data(data)

      response = https_client(uri).request(request)
    end
417299
def put(url, payload, options={}, &block)
      http_options = options.merge(@basic_options)
      if block_given?
        RestClient.put(url, payload, http_options, &block)
      else
        RestClient.put(url, payload, http_options)
      end

    end
1268362
public static HttpRequestBase put(String path,
	                                  HttpEntity entity) {

		return put(path, null, null, entity, null);
	}
1090721
public function put($path, $parameters)
    {
        $request = $this->getRequest(static::HTTP_PUT, $path, $parameters);

        return $this->sendRequest($request);
    }
296840
def put(uri, payload)
      headers = { 'Content-Type' => 'application/json' }
      res = Excon.put(@base_url + uri.to_s,
                      headers: headers,
                      user: username,
                      password: password,
                      ssl_verify_peer: false,
                      body: payload)
      api_response res
    end
1169985
def set(path)
      assert_exists
      path = path.to_s

      @object.setValueAttribute path

      unless @object.getContentType
        @object.setContentType(Celerity::Util.content_type_for(path))
      end

      path
    end
1207584
def put(self, local_path, path, atomic=True):
        
        self._connect()

        if self.sftp:
            self._sftp_put(local_path, path, atomic)
        else:
            self._ftp_put(local_path, path, atomic)

        self._close()
666415
public static function put($path, $callback)
    {
        self::instance()->addRoute('PUT', $path, self::callback($callback));
    }
982947
def put(url, params)
      params = convert_hash_keys(params)
      preform(url, :put, params: params) do
        return connection.put(url, params)
      end
    end
318306
def put(path, headers: {}, query: {}, payload: {})
      @parent.put("/#{@segment}/#{path}".gsub(%r{/+}, '/'),
                  headers: @default_headers.merge(headers), query: query, payload: payload)
    end
210479
def put(path: nil, payload:, headers: {}, query: {})
      execute(method: :put, path: path, headers: headers, query: query, payload: payload)
    end