logo
enes

HTTP connection

Last update: 7 days ago by Irais Aguirre

The web service handles an HTTP POST request, which receives JSON strings and returns a result in the same format.


DOMAIN:https://admin.broadcastermobile.com
URL:http://[domain]/broadcaster-urlshortener-ws/ws/api/shorturl/generate/
METHOD:POST
HEADERS:Content-Type: application/json
Authorization:[token]
apiKey:[apiKey]

body

{
"originalURLs": [
{
"url": "[String][Required] (http://....)",
"urlName": "[String][Optional]"
},
{
"url": "[String][Required] (http://....)"
}
]
}

Parameters

NameDescriptionRequirements
domainPath where the service is hosted; this information will be provided by Concepto Móvil.Required
AuthorizationPrivate "token" provided by Concepto Móvil, used as the key to establish the connection.Required
apiKeyClient identifier provided by Concepto Móvil.Required
originalURLsArray of URLs to transform.Required
urlOriginal URL to be shortened.Required
urlNameIdentifier of the URL to shorten. If not provided, a default name will be generated for the URL.Optional
shortURL — Previous
URL shortening
Next
Response