Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPouria Ezzati <ezzati.upt@gmail.com>2018-05-19 15:26:15 +0300
committerPouria Ezzati <ezzati.upt@gmail.com>2018-05-19 15:28:45 +0300
commit79dc27832a3a81727ba838cc0867edf4f2f92307 (patch)
treee38a611a9d98308270eb884035cc5dc6c1f1a569 /README.md
parenta4d884896aad0fc9a33d77634e80d958a04fcb07 (diff)
Add "reuse" option to the API
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index d918404..2743736 100644
--- a/README.md
+++ b/README.md
@@ -93,6 +93,9 @@ POST /api/url/submit
```
Body:
* `target`: Original long URL to be shortened.
+ * `customurl` (optional, users only): Set a custom URL.
+ * `passowrd` (optional, users only): Set a password.
+ * `reuse` (optional, users only): If a URL with the specified target exists returns it, otherwise will send a new shortened URL.
Returns: URL object