<p><strong>Hex</strong> is request body param not query param.</p>

CC BY-SA 3.0
2016-08-31T12:17:07.753Z
2016-08-31T12:17:07.753Z
Farghaly
<p>I've read through the documentation on decoding a transaction via API on Blockr:</p>

<p><a href="http://blockr.io/documentation/api" rel="nofollow noreferrer">http://blockr.io/documentation/api</a></p>

<p>I have the hex code, which correctly decodes on <a href="http://blockr.io/tx/push" rel="nofollow noreferrer">http://blockr.io/tx/push</a></p>

<p><a href="https://i.sstatic.net/qm987.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/qm987.png" alt="enter image description here"></a></p>

<p>Thus it can decode.</p>

<p>Please show me where I am going wrong trying to follow the API documentation which states: </p>

<p><a href="https://i.sstatic.net/KEWic.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/KEWic.png" alt="enter image description here"></a></p>

<p>My attempt includes adding the path to postman (as a post):</p>

<pre><code>http://btc.blockr.io/api/v1/tx/decode?hex=010000000117f244eba4...
</code></pre>

<p><a href="https://i.sstatic.net/3ICQr.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3ICQr.png" alt="enter image description here"></a></p>

<blockchain><api>
Blockr.io - how to decode a transaction via API
Peter PitLock
# Blockr.io - how to decode a transaction via API

(Asked by: username_0 on 2016-08-31)

I've read through the documentation on decoding a transaction via API on Blockr:

<http://blockr.io/documentation/api>

I have the hex code, which correctly decodes on <http://blockr.io/tx/push>

[![enter image description here](https://i.sstatic.net/qm987.png)](https://i.sstatic.net/qm987.png)

Thus it can decode.

Please show me where I am going wrong trying to follow the API documentation which states:

[![enter image description here](https://i.sstatic.net/KEWic.png)](https://i.sstatic.net/KEWic.png)

My attempt includes adding the path to postman (as a post):

```
http://btc.blockr.io/api/v1/tx/decode?hex=010000000117f244eba4...

```

[![enter image description here](https://i.sstatic.net/3ICQr.png)](https://i.sstatic.net/3ICQr.png)

**Tags:** blockchain, api


---

## 1 answers

### Answer by username_1 on 2016-08-31. Score: 1 | Accepted answer

**Hex** is request body param not query param.


---

