Releases: kythonlk/fastreq
Fastreq v0.1.0
Release Notes for FastReq Version 0.1
Introduction
FastReq 0.1 is the initial release of our lightweight, powerful command-line utility designed for making HTTP requests. This release includes support for GET and POST requests, customizable request headers and body content through JSON files, and a default configuration mechanism.
Features
- HTTP Request Types: Supports GET and POST requests with easy command-line switches.
- Custom Headers and Body: Allows users to specify custom headers and body content for POST requests via external JSON files.
- Configuration File Support: Includes a default configuration file (
config.json
) for setting commonly used parameters. - Response Time Measurement: Offers an option to measure and display the response time for each request.
- Simplified Command-Line Usage: Designed with simplicity in mind, providing clear and concise command-line options.
How to Run FastReq
After extracting the provided fastreq.zip
file, you will find the fastreq
binary along with example body.json
, header.json
, and config.json
files. Here's how to run FastReq in a production environment:
-
Ensure Required Files Are Present: Make sure
body.json
,header.json
, andconfig.json
are in the same directory as thefastreq
binary or specify their paths when running commands. -
Execute a Request: Run FastReq from the command line by navigating to the directory containing the
fastreq
binary and executing it with the appropriate flags. Below are some example commands:-
GET Request:
./fastreq -u 'http://example.com' -t g
-
POST Request (using
body.json
andheader.json
):./fastreq -u 'http://example.com' -t p -b body.json -H header.json
-
Measure Response Time for a GET request:
./fastreq -u 'http://example.com' -t g -m
-
Release Package Contents
The fastreq.zip
file includes the following:
fastreq
: The executable binary for FastReq.body.json
: An example JSON file for HTTP POST body content.header.json
: An example JSON file containing custom request headers.config.json
: The default configuration file, which can be customized as needed.
System Requirements
FastReq is built to run on Unix-like operating systems, including Linux and macOS. Windows support is pending.
Installation
No formal installation is required. Simply extract fastreq.zip
and run the fastreq
binary from the command line. Ensure executable permissions are set correctly (e.g., using chmod +x fastreq
on Unix-like systems).
Support and Contributions
For support, feature requests, or contributions, please visit [GitHub repository URL]. We welcome community feedback and contributions to improve FastReq in future releases.
This release note provides a concise overview of FastReq's capabilities, usage, and contents of the release package. Adjust the GitHub repository URL and any specific instructions or descriptions according to your actual project details and hosting arrangements.