mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +01:00
Remove curl from code samples
This commit is contained in:
parent
8da52ced51
commit
7eb63c079a
@ -71,10 +71,7 @@ redirect_from:
|
|||||||
<aside class="code-example">
|
<aside class="code-example">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active" href="#curl" data-toggle="tab" role="tab">cURL</a>
|
<a class="nav-link active" href="#python" data-toggle="tab" role="tab">Python</a>
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#python" data-toggle="tab" role="tab">Python</a>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#nodejs" data-toggle="tab" role="tab">Node.js</a>
|
<a class="nav-link" href="#nodejs" data-toggle="tab" role="tab">Node.js</a>
|
||||||
@ -83,16 +80,7 @@ redirect_from:
|
|||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
|
||||||
<div class="tab-pane active" id="curl" role="tabpanel">
|
<div class="tab-pane active" id="python" role="tabpanel">
|
||||||
{% capture curl %}
|
|
||||||
```bash
|
|
||||||
curl -X "POST" "https://test.ipdb.io/api/v1/transactions/" \
|
|
||||||
-d $'{ message: "Blockchain all the things!" }'
|
|
||||||
```
|
|
||||||
{% endcapture %}{{ curl | markdownify }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="tab-pane highlight" id="python" role="tabpanel">
|
|
||||||
{% capture python %}
|
{% capture python %}
|
||||||
```python
|
```python
|
||||||
from bigchaindb_driver import BigchainDB
|
from bigchaindb_driver import BigchainDB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user