BiSoga URl shortener API example

node v10.22.1
version: master
This is an example of the BiSoga ( URL shortener API.
//This example uses snekfetch version 4.0.3 const snekfetch = require('snekfetch') let code let url = '' await snekfetch.get(''+url+'&').then((result) => code = String(result.raw)) // In snekfetch 3.x use result.text instead of String(result.raw) console.log(code) // Expected result:
Created from:

no comments

    sign in to comment