An open API service indexing awesome lists of open source software.

https://github.com/shaikhsajid1111/elfinsurl

elfinsurl is a free and open source URL shortener built with javascript
https://github.com/shaikhsajid1111/elfinsurl

api api-rest javascript microservice nodejs rest url url-shortener url-shortener-microservice web

Last synced: about 2 months ago
JSON representation

elfinsurl is a free and open source URL shortener built with javascript

Awesome Lists containing this project

README

          

Elfinsurl


elfinsurl is a free and open source URL shortener built with javascript

Usage:

To short a URL , make a JSON POST request to ``` www.elfinsurl.tk/new ```

Request JSON should like:
```json
{
"url":"Your long url"
}
```

Using CURL:
```bash
curl -X POST -H 'Content-Type: application/json' -i 'http://www.elfinsurl.tk/new' --data '{
"url" : "Your long url goes here"
}'
```
Response:
```javascript
{
"original_url": "Your long url",
"short_url": "elfinsurl.tk/shortcode" //your short url
}

```

To use that short url just open it in browser and done!.

Tech:





Note: Short URL will last for only 6 months period

LICENSE:


MIT