my-emacs-d/elpa/yasnippet-20160924.2001/snippets/chef-mode/http_requestp

10 lines
254 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: http_requestp
# key: http_requestp
# --
http_request "${1:posting data}" do
action :post
url "${2:http://example.com/check_in}"
message ${3::some => "data"}
headers (${4:\{"AUTHORIZATION" => authorization\}})
end