如何从gin gonic中的POST负载读取变量?

On Chrome's Network tab the request payload looks like the following:

{"req":{"headers":{"headers":{"Authorization":"Bearer **************"}}},"name":"john"}

I removed the bearer authorization.

func name(c *gin.Context) {    
    name := c.Param("name")
    fmt.Println("name", name)
}

I'm most definitly doing something wrong but I've searched and couldn't find the solution. How do I retrieve something from there? If I use the rawData function I can see that the server got the response but I don't know how to actually put it in a variable that I can use