POST v1/application/url-shorter

Request Information

URI Parameters

None.

Body Parameters

UrlshortenerRequestModel
NameDescriptionTypeAdditional information
url

string

Required

Request Format

application/json, text/json

Sample:
{
  "url": "sample string 1"
}

Response Information

Resource Description

BaseMetaResultModelOfUrlshortenerResponseModel
NameDescriptionTypeAdditional information
response

UrlshortenerResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "created_at": "2018-11-16T04:07:49.1441475+03:00",
    "link": "sample string 2"
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}