We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e072c commit a0d07cbCopy full SHA for a0d07cb
stbx-service-rest/src/Statebox/Service/Main.purs
@@ -101,7 +101,7 @@ index :: Handler
101
index = sendJson
102
{ name : "Statebox REST API"
103
, description : "collection of endpoints to interact with the Statebox protocol"
104
- , endpoints : { ping : "/ping"
+ , endpoints : { ping : "/tx/ping"
105
, getTransactions : "/tx"
106
, getTransaction : "/tx/:hash"
107
}
@@ -200,7 +200,7 @@ app state = do
200
useExternal stringBodyParser
201
use logger
202
get "/" index
203
- get "/ping" ping
+ get "/tx/ping" ping
204
get "/tx" (getTransactionsHandler state)
205
get "/tx/:hash" (getTransactionHandler state)
206
post "/tx" (postTransactionHandler state)
0 commit comments