Method: Chef::HTTP#post

Defined in:
lib/chef/http.rb

#post(path, json, headers = {}) ⇒ Object

Send an HTTP POST request to the path

Parameters

path

path part of the request URL

[View source]

136
137
138
# File 'lib/chef/http.rb', line 136

def post(path, json, headers = {})
  request(:POST, path, headers, json)
end