Skip to content

dpogue/curler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curler

Log Net::HTTP requests as cURL commands.

Installation

Usage

This adds a class-level curl_log method to Net::HTTP to specify a log location for the cURL commands.

# Set the output location, as either a string or an IO object
Net::HTTP.curl_log('requests.log')

# Now make requests with Net::HTTP

Contributing

Contributions of bug reports, feature requests, and pull requests are greatly appreciated!

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Licence

Copyright © 2018 Darryl Pogue Licensed under the MIT Licence.

About

A ruby gem to log outgoing network requests as cURL commands.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages