How would I read and change the values if I posted JSON data to /post route in gofiber:
{
"name" : "John Wick"
"email" : "johnw@gmail.com"
}
app.Post("/post", func(c *fiber.Ctx) error {
//read the req.body here
name := req.body.name
return c.SendString(name)
}