Skip to content

Instantly share code, notes, and snippets.

@DaltonWebDev
Created November 16, 2018 00:38
Show Gist options
  • Save DaltonWebDev/4315ad1d3552ff31e9e4322ecb6950d3 to your computer and use it in GitHub Desktop.
Save DaltonWebDev/4315ad1d3552ff31e9e4322ecb6950d3 to your computer and use it in GitHub Desktop.

Create Link

Method: POST

Parameters

url – the place you want your link to redirect to (must include http:// or https://)

link – *( optional parameter) * Must be alphanumeric and can't exceed 20 characters in length. If you don't set this a link will be randomly generated.

Output

error will be false upon success. otherwise it will output a string for example "URL_MISSING".. they are all self explanatory

data will output the created link! SAVE THIS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment