Browse Prior Art Database

Method and System of Automatically Shortening a URL Accessed by an API Disclosure Number: IPCOM000213537D
Publication Date: 2011-Dec-20
Document File: 1 page(s) / 20K

Publishing Venue

The Prior Art Database


A method and system of automatically shortening the access to a web based Application Programming Interface is disclosed.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 73% of the total text.

Page 01 of 1

Method and System of Automatically Shortening a URL Accessed by an API

When accessing web based Application Programming Interfaces (APIs), one finds APIs are accessed through complex and lengthy URLs. As the number of subsequent references to related, or child, APIs increases the lengths of the URLs further increase. As the length of the URLs increases, the network performance from the client to the server decreases; this is directly related to the increased http request header which contains the lengthy URL. This may lead to unnecessary high bandwidth usage.

Disclosed is a method and system to automatically shortening the access to web based Application Programming Interfaces.

Initially, an application connects to a proxy endpoint. The proxy detects a request by an API to access a URL endpoint. The proxy analyzes length of the URL. If the length of the URL is longer than a pre-defined length, then the path to the endpoint is shortened by the system and is identified by a single key. The shortened URL may be of the form http://domain/key/api/subapi. Thereafter, the proxy caches payload associated with the URL. The key uniquely identifies the session, or time to access the API.

Further, the proxy notifies user of the API about the resource location change. In an embodiment, the proxy may automatically redirect the user of the API to the shortened URL. The application connects to the shortened endpoint which includes the cached payload. Further, subsequent request...