my-emacs-d/elpa/yasnippet-20161022.646/snippets/chef-mode/http_requestp
2016-10-24 08:30:06 +02:00

10 lines
254 B
Plaintext

# -*- 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