1.1.0 • Published 10 years ago
lunik-short v1.1.0
Lunik-Short
===== Installation =====
Npm
$ npm install lunik-shortExemple
require('lunik-short')Git
$ git clone https://github.com/Lunik/Lunik-Short.git
$ cd Lunik-Short
$ npm install
$ nano src/config.jsonRun
$ npm start===== View =====

===== API =====
POST http://<YOUR_DOMAIN>/apiParameters
| 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 |