Browse Source

Fix misleading docs for POST_pushtx

Documentation contains misleading information about how the parameters should be passed.
use-env-var-docker
Pavel Ševčík 5 years ago
committed by GitHub
parent
commit
a9765e9612
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      doc/POST_pushtx.md

5
doc/POST_pushtx.md

@ -5,6 +5,7 @@ Push a transaction to the network.
```
POST /pushtx/
```
Parameters must be passed in the body of the request as url encoded arguments.
## Parameters
* **tx** - `hex string` - The raw transaction hex
@ -14,7 +15,9 @@ POST /pushtx/
### Example
```
POST /pushtx/?tx=abcdef0123456789
POST /pushtx/
tx=abcdef0123456789
```
#### Success

Loading…
Cancel
Save