my-emacs-d/elpa/yasnippet-20160924.2001/snippets/chef-mode/http_requestp
2016-10-20 10:27:10 +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