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
| Name | Description | Requirements |
|---|---|---|
| domain | Path where the service is hosted; this information will be provided by Concepto Móvil. | Required |
| Authorization | Private "token" provided by Concepto Móvil, used as the key to establish the connection. | Required |
| apiKey | Client identifier provided by Concepto Móvil. | Required |
| originalURLs | Array of URLs to transform. | Required |
| url | Original URL to be shortened. | Required |
| urlName | Identifier of the URL to shorten. If not provided, a default name will be generated for the URL. | Optional |
