I don't get data from c.Body ("email") when I request via postman with Raw Body
Raw Data
{
"email": "[email protected]"
}
Code snippet
package main
import "github.com/gofiber/fiber"
func main() {
app := fiber.New()
app.Post("/login", func (c *fiber.Ctx) {
c.Body("email") // no value here
})
app.Listen(8080)
}
Thanks for opening your first issue here! ๐ Be sure to follow the issue template!
Hi, you have created an empty issue1 in the bug-tracker of this repository2.
The Issue tab of repositories on GitHub is meant to report problems with the repository or to discuss features of the project. If you have an actual issue with the repository, please open a new issue with a decent description.
Have fun exploring this repository ๐
If you want to know more about how to write good issues, look here: https://guides.github.com/features/issues/
1: Issue โพ Bug Report / Feature Request / etc..
2: Repository โพ Project
Hi @Aguezz,
If you format your data in this way: key=value, it works :)

@MarvinJWendt
Thank you... That works ๐ฅณ
Most helpful comment
Hi @Aguezz,
If you format your data in this way:
key=value, it works :)