Class Hosting

Hierarchy (view full)

Constructors

Properties

API_PREFIX: string = '/hosting'

Base API url for hosting.

Methods

  • Generate a short link for a given target URL

    Parameters

    • targetUrl: string

      The targer URL to generate a shortened URL for

    Returns Promise<ShortUrl>