Toolshed.HTTP (toolshed v0.2.20) View Source
Helpers that make HTTP requests
Link to this section Summary
Functions
Perform a HTTP GET request for the specified URL
Generate an ASCII art QR code
Display the local weather
Link to this section Functions
Specs
Perform a HTTP GET request for the specified URL
By default, the results are printed or you can optionally choose to download it to a specific location on the file system.
Options:
:dest
- File path to write the response to. Defaults to printing to the terminal.:verbose
- Display request and response headers. Disabled by default.
Specs
qr_encode(String.t()) :: :"do not show this result in output"
Generate an ASCII art QR code
See https://github.com/chubin/qrenco.de for more information.
Specs
weather() :: :"do not show this result in output"
Display the local weather
See http://wttr.in/:help for more information.