You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
363 B

package callback
import (
"github.com/gin-gonic/gin"
"io/ioutil"
"log"
)
type Short struct {
}
func (s *Short) Callback(c *gin.Context) {
log.Println("cutout:start")
log.Println("data:", c.Request.RequestURI)
log.Println("data:", c.Request.PostForm)
all, err := ioutil.ReadAll(c.Request.Body)
log.Println(string(all), err)
log.Println("cutout:end")
}