Put

O método Put() no Quick Framework é usado para definir uma rota HTTP que lida com solicitações PUT. O método PUT permite que os clientes enviem dados a um servidor para atualizar recursos existentes.

In simple terms, it lets a client modify an existing resource on a server.

The example defines a PUT route using Quick. To create a PUT route, simply call the Put() method in a Quick instance.

The route path (/users/:id or /types/:id)

A handler function that executes when the route is matched.

introduction.go