P5-http-simple

Jul 20, 2023

Simple procedural interface to HTTP::Tiny

HTTPSimple is a wrapper of HTTPTiny that provides simplified functions for performing HTTP requests in a similar manner to LWPSimple, but with slightly more useful error handling. For full control of the request process and response handling, use HTTPTiny directly.

IOSocketSSL is required for HTTPS requests with HTTPTiny.

Request methods that return the body content of the response will return a byte string suitable for directly printing, but that may need to be decoded for text operations.

The HTTPTiny object used by these functions to make requests can be accessed as $HTTPSimpleUA for example, to configure the timeout, or replace it with a compatible object like HTTPTinyish.

The JSON encoder used by the JSON functions defaults to a JSONPP instance, and can be accessed as $HTTPSimpleJSON.



Checkout these related ports:
  • Zope213 - Object-based web application platform Version 2.13
  • Zola - Fast static site generator
  • Zgrab2 - Fast Go application scanner
  • Zerowait-httpd - Lightweight and fast http server
  • Zenphoto - Simpler web photo gallery
  • Zend-framework - Framework for developing PHP web applications
  • Yuicompressor - The Yahoo! JavaScript and CSS Compressor
  • Ytdl - YouTube downloader written in Go
  • Yt-dlp - Command-line program for downloading videos from various platforms
  • Youtube_dl - Program for downloading videos from various services
  • Yourls - Your Own URL Shortener
  • You-get - Dumb downloader that scrapes the web
  • Yaws - Web server for dynamic content written in Erlang
  • Yarr - Yet another rss reader
  • Yarn - Package manager for node, alternative to npm (meta port)