Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 439 Bytes
<section name="curl" class="curl">
<p class="ioDesc">In</p>
<pre class="incoming brush:shell">
curl --include<% if @headers: %><% for header,value of @headers: %> --header <%= @helpers.escape "#{header}: #{value}" %><% end %> \
<% end %><% if @method isnt 'GET': %> --request <%= @method %> \
<% end %><% if @body: %> --data <%= @helpers.escape @body.join('') %> \
<% end %> "<%= @apiUrl %><%= @url %>"
</pre>
</section>
Jump to Line
Something went wrong with that request. Please try again.