Permalink
Browse files

fix of new lines in curl example

  • Loading branch information...
1 parent 31690d5 commit bc5ff35b7639c24eefbf4714febeea77f6d5a69a @tu1ly tu1ly committed Feb 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 curl.html
View
@@ -2,6 +2,6 @@
<p class="ioDesc">Request</p>
<pre class="incoming"><code class="language-bash">curl --include<% if @headers: %><% for header,value of @headers: %> --header <%= @helpers.escape "#{header}: #{value}" %><% end %> \
<% end %><% if @method isnt 'GET' or @body: %> --request <%= @method %> \
- <% else if @body: %> --data-binary "<%= @body.replace(/(['"])/g, "\\$1") %>" \
+ <% end %><% if @body: %> --data-binary "<%= @body.replace(/(['"])/g, "\\$1") %>" \
<% end %>"<%= @apiUrl %><%= @url %>"</code></pre>
</section>

1 comment on commit bc5ff35

Owner

Almad commented on bc5ff35 Feb 18, 2013

Please sign in to comment.