1.1.0 • Published 9 years ago
lunik-short v1.1.0
Lunik-Short
===== Installation =====
Npm
$ npm install lunik-short
Exemple
require('lunik-short')
Git
$ git clone https://github.com/Lunik/Lunik-Short.git
$ cd Lunik-Short
$ npm install
$ nano src/config.json
Run
$ npm start
===== View =====
===== API =====
POST http://<YOUR_DOMAIN>/api
Parameters
Name | Type | Description |
---|---|---|
type | string | Specify the type of request (new, getUrl, getHash) |
url | string | Url to short |
hash | string | Hash of the shorten url |