dotar/vim/snippets/ruby/http_post.snippet
2011-11-17 16:00:49 -06:00

3 lines
80 B
Plaintext
Executable File

require 'net/http'
res = Net::HTTP.post_form URI.parse('${1:url}')${2:, params}