From 782423141cc86df70a53dda2136eaba64a140091 Mon Sep 17 00:00:00 2001 From: vlw Date: Sun, 9 Feb 2025 10:28:40 +0000 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c6912ac..878a961 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,18 @@ -A simple curl wrapper written in bash that can be used to make HTTP requests to API endpoints. +![license](https://licensebuttons.net/p/zero/1.0/88x31.png) + +# A simple curl wrapper written in bash that can be used to make HTTP requests to API endpoints. ![screenshot](https://href.vlw.se/0194ea19-faa6-77b5-8fe1-b1459a12ea84) -*This is how I use this script* + +I use this script with windows set up like this in code-server. # Files This script uses separate files for various request options. Create these files in the same directory as `curl.sh`. ## `params.txt` -URL search parameters +URL search parameters. -## `paylod.json` +## `paylaod.json` JSON request body that will be sent with all requests (except `GET`). ## `key.txt` @@ -19,7 +22,7 @@ JSON request body that will be sent with all requests (except `GET`). Optional empty file that when present will disable SSL peer validation - for self-signed certificates etc. # Make a request -Run the `curl.sh` file from your shell and pass it two parametes for URL and request method +Run the `curl.sh` file from your shell and pass it two parametes for URL and request method. ```sh ./curl.sh https://example.com GET