- Patent Title: Method and apparatus for invoking application programming interface
-
Application No.: US15200501Application Date: 2016-07-01
-
Publication No.: US10853437B2Publication Date: 2020-12-01
- Inventor: Xiaoxiao Yu
- Applicant: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Applicant Address: CN Shenzhen
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen
- Agency: Anova Law Group, PLLC
- Priority: CN201410142520 20140410
- Main IPC: G06F16/955
- IPC: G06F16/955 ; G06F9/445 ; G06F8/36 ; G06F9/54 ; H04L29/06

Abstract:
A method and an apparatus for invoking an application programming interface (API) are disclosed. The method includes: loading a prestored JS file to a webpage after loading of the webpage is completed; receiving an invoking request that is sent by the webpage by invoking the JS file; and invoking a corresponding API according to a JS URL. This solves a problem that an encoded URL in each webpage needs to be modified when an encoding rule of a URL in a specified format is changed, which is complicated in operation, wastes time, and is poor in compatibility with clients in different versions.
Public/Granted literature
- US20160314219A1 METHOD AND APPARATUS FOR INVOKING APPLICATION PROGRAMMING INTERFACE Public/Granted day:2016-10-27
Information query