Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 10 lines (9 sloc) 0.448 kB
5e71148 @Almad Add classes so bad selector engines are worky
Almad authored
1 <section name="curl" class="curl">
ec8401f @Almad Initial transfer of language templates
Almad authored
2 <p class="ioDesc">In</p>
3 <pre class="incoming brush:shell">
7378dd9 @zzen Fixed escaping of template headers
zzen authored
4 curl --include<% if @headers: %><% for header,value of @headers: %> --header <%= @helpers.escape "#{header}: #{value}" %><% end %> \
f80ad58 @Almad Fix cURL with GET data
Almad authored
5 <% end %><% if @method isnt 'GET' or @body: %> --request <%= @method %> \
0a9af09 @Almad Process unjoined @body
Almad authored
6 <% end %><% if @body: %> --data <%= @helpers.escape @body.join('') %> \
ec8401f @Almad Initial transfer of language templates
Almad authored
7 <% end %> "<%= @apiUrl %><%= @url %>"
8 </pre>
9 </section>
Something went wrong with that request. Please try again.