Sha256: 2832bc88c39161c4c96e531e84386e99b874e17a8f9859d289c7da6d372dd8a5
Contents?: true
Size: 364 Bytes
Versions: 7
Compression:
Stored size: 364 Bytes
Contents
<h2>Curl Example</h2> <pre lang="bash"> $ curl -n <%= example[:request] -%><%- unless example[:http_headers].empty? %> \<%- end -%> <%- if !example[:data].nil? %> <%= example[:data] -%> <%- end -%> <%- example[:http_headers].each do |key, value| %> -H "<%= key %>: <%= value %>"<%- if key != example[:http_headers].keys.last %> \<%- end -%> <%- end %> </pre>
Version data entries
7 entries across 7 versions & 1 rubygems