Skip to content

A golang http middleware that dumps requests as curl commands

License

Notifications You must be signed in to change notification settings

casualjim/curler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Curler

A golang HTTP middleware that dumps request as curl commands. When the request has a json body then it will also dump the json.

import (
  "os"
  "github.com/casualjim/curler"
)

curler.New(handler, os.Stdout)

About

A golang http middleware that dumps requests as curl commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages