Change docs to POST
This commit is contained in:
parent
6f2a069047
commit
0a57bd3ce7
@ -146,7 +146,7 @@ If `feetxstatus` is `error`, the client needs to provide a new fee transaction
|
|||||||
using `/api/payfee`. The VSP will only add a ticket to the voting wallets once
|
using `/api/payfee`. The VSP will only add a ticket to the voting wallets once
|
||||||
its `feetxstatus` is `confirmed`.
|
its `feetxstatus` is `confirmed`.
|
||||||
|
|
||||||
- `GET /api/ticketstatus`
|
- `POST /api/ticketstatus`
|
||||||
|
|
||||||
Request:
|
Request:
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ticketStatus is the handler for "GET /ticketstatus".
|
// ticketStatus is the handler for "POST /ticketstatus".
|
||||||
func ticketStatus(c *gin.Context) {
|
func ticketStatus(c *gin.Context) {
|
||||||
funcName := "ticketStatus"
|
funcName := "ticketStatus"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user