From de52dcd66d92bcd3c4f3c826168ba7399da5a756 Mon Sep 17 00:00:00 2001 From: Jaydeep <88286024+Git-Jaydeep01@users.noreply.github.com> Date: Wed, 22 Dec 2021 11:58:12 +0530 Subject: [PATCH] Updated According to the suggestion. --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ffc6166..9b0c843 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,22 @@ The API uses Python Flask and is [hosted on a replit](https://replit.com/@paramt Endpoint: `api.1pt.co` -### `/addURL` + 1. If you want custom name to url + ``` + https://api.1pt.co/addURL?long={LONG_URL}&short={CUSTOM_SHORT_WORD} + + https://api.1pt.co/addURL?long=https://www.param.me&short=param + ``` + + + + 2. If you want to skip custom name to url : + ``` + https://api.1pt.co/addURL?long={LONG_URL} + + https://api.1pt.co/addURL?long=https://www.param.me + ``` + #### Method: `GET`