nShortURL overview
    • PDF

    nShortURL overview

    • PDF

    Article summary

    Available in Classic and VPC

    nShortURL is a NAVER Cloud Platform service that turns long and complex URLs into simple and short ones. The nShortURL service provides an API in RESTful form that shortens the entered URL to me2.do.

    Common nShortURL settings

    The following describes commonly used request and response formats in nShortURL APIs.

    Request

    The following describes the common request format.

    API URL

    The request API URL is as follows.

    https://naveropenapi.apigw.ntruss.com/util/v1/shorturl
    

    Request headers

    The following describes the headers.

    FieldRequiredDescription
    x-ncp-apigw-api-key-idRequiredClient ID issued after application registration in NAVER Cloud Platform console
    x-ncp-apigw-api-keyRequiredClient secret issued after application registration in NAVER Cloud Platform console
    Note

    For information on how to register an application in the NAVER Cloud Platform console to obtain authentication information (client ID, client secret) required to use the API, see nShortURL User Guide.
    In the console, make sure that the API you want to use after registering the application is selected by clicking the [Edit] button. If it is not selected, you will receive a 429 (Quota Exceed) error.

    Response

    The following describes the common response format.

    Response status codes

    The following describes the response status codes.

    HTTP status codeCodeMessageDescription
    4031403Invalid URLInvalid request URL
    4032403Forbidden URLAPI usage permission error
    4033403Unavailable URLRequest URL that does not exist or is not secure
    5001500Internal Server ErrorInternal server error
    • Contact Support
    Note

    For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    nShortURL API

    The following describes the APIs provided by the nShortURL service.

    APIDescription
    shorturlShorten URLs

    NAVER Cloud Platform provides a variety of related resources to help users better understand nShortURL APIs.


    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.