Web API URL Switching for Local Version Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems lack an efficient method for developers to test different versions of web application content without affecting other developers or users.

Innovation Solution

A method and system for temporarily modifying the URL of an API in a web application to point to a local source, allowing developers to switch between different versions of content without permanent changes, using a session storage to manage these updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If developers permanently modify API URLs to point to local sources for testing, then local testing capability is improved, but system stability and other users' experience deteriorate

Engineering Contradiction:
Improvelocal testing capabilityVSAvoidsystem stability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent implements dynamic URL switching capability that allows the API configuration to change based on runtime conditions. The system can switch between local development servers and production API endpoints depending on the environment, enabling flexible testing without permanent modifications. This is achieved through environment detection and configurable base URLs that can be adjusted at runtime.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent introduces an intermediary layer (API management system or configuration service) that sits between the application code and the actual API endpoints. This intermediary handles URL resolution and switching, allowing developers to test locally through a standardized interface while maintaining stable production connections. The intermediary abstracts the complexity of URL management from the core application logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If developers make permanent changes to API associations for local testing, then local development flexibility is improved, but version control and consistency across systems deteriorate

Engineering Contradiction:
Improvelocal development flexibilityVSAvoidversion control consistency
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The patent implements preliminary configuration mechanisms where API URL mappings are pre-defined for different environments (development, testing, production) before runtime. This allows developers to select appropriate configurations ahead of time without making ad-hoc permanent changes. The system prepares multiple environment-specific configurations in advance, ensuring consistency within each environment while allowing flexibility across environments.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent utilizes parameter changes to control API behavior based on environment. By changing configuration parameters (such as base URL, environment flags, or feature toggles) rather than modifying code structure, the system maintains version control consistency. The same codebase can adapt to different environments through parameter adjustments, preserving compositional stability while enabling local development flexibility.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If the system uses session storage for URL modifications, then temporary local testing is enabled, but complexity of URL management increases

Engineering Contradiction:
Improvetemporary testing capabilityVSAvoidURL management complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent implements self-service mechanisms where the application automatically detects and manages URL configurations without requiring complex manual intervention. The system monitors session state, automatically switches URLs based on detected environment changes, and manages configuration persistence transparently. This automation reduces the operational complexity despite the sophisticated underlying URL management infrastructure.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12511179B2Managing application programming interfaces (APIs) of a web application
Publication Date: 2025.12.30 DELL PROD LP
  • US12511179B2 patent drawing
  • US12511179B2 patent drawing
  • US12511179B2 patent drawing

AI summary

Managing APIs of a web application, including: developing, at a local IHS, a web application that includes an API for providing a portion of the web application, the API associated with a first URL associated with a host IHS that provides a first version of the portion; temporarily modifying the API from being associated with the first URL to a second URL, including: receiving input at the local IHS indicating i) the second URL and ii) approval to associate the second URL with the API, wherein the second URL is associated with the local IHS; in response to the user input: updating settings for the web application such that the API is associated with the second URL, the second URL providing a second version of the portion; storing the updated settings in a session storage for a browser of the first IHS that provides for display the web application.