Commit e4d4d852 authored by Your Name's avatar Your Name

query with Get method

parent 5ed39013
......@@ -918,7 +918,7 @@ func main() {
queryGroup := app.Group("/query")
queryGroupV1 := queryGroup.Group("/v1")
queryGroupV1.Post("/:taskId", func(c *fiber.Ctx) error {
queryGroupV1.Get("/:taskId", func(c *fiber.Ctx) error {
taskId := c.Params("taskId")
......@@ -930,7 +930,7 @@ func main() {
return syncOrAsyncReturn(c, res, taskId)
}
return c.SendString(fmt.Sprintf("can not find out the task id %s in result cache."))
return c.SendString(fmt.Sprintf("can not find out the task id %s in result cache.", taskId))
})
callbackGroup := app.Group("/callback")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment