Method: Chef::HTTP#post
- Defined in:
- lib/chef/http.rb
permalink #post(path, json, headers = {}) ⇒ Object
Send an HTTP POST request to the path
Parameters
- path
-
path part of the request URL
136 137 138 |
# File 'lib/chef/http.rb', line 136 def post(path, json, headers = {}) request(:POST, path, headers, json) end |