module
Version:
v0.0.0-...-4e8521e
Opens a new window with list of versions in this module.
Published: Jan 8, 2024
License: MIT
Opens a new window with license information.
README
¶
url-shortener
Usage
Access to shortened URL
$ curl http://localhost:8080/google
Generate shortened URL
$ curl -X POST http://localhost:8080/api/v1/urls -H 'Content-Type: application/json' -d '{"original_url":"https://github.com/kokoichi206"}'
{"short_url":"mRJ"}
$ curl -v http://localhost:8080/mRJ
Directories
¶
Click to show internal directories.
Click to hide internal directories.