CN110738024A - Method for converting WebAPP into API service interface - Google Patents

Method for converting WebAPP into API service interface Download PDF

Info

Publication number
CN110738024A
CN110738024A CN201910902970.3A CN201910902970A CN110738024A CN 110738024 A CN110738024 A CN 110738024A CN 201910902970 A CN201910902970 A CN 201910902970A CN 110738024 A CN110738024 A CN 110738024A
Authority
CN
China
Prior art keywords
service interface
webapp
format
api service
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910902970.3A
Other languages
Chinese (zh)
Inventor
成超
殷际峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Silk Road Tiandi Electronic Commerce Co Ltd
Original Assignee
Shenzhen Silk Road Tiandi Electronic Commerce Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Silk Road Tiandi Electronic Commerce Co Ltd filed Critical Shenzhen Silk Road Tiandi Electronic Commerce Co Ltd
Priority to CN201910902970.3A priority Critical patent/CN110738024A/en
Publication of CN110738024A publication Critical patent/CN110738024A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for converting WebAPP into an API service interface, which relates to the field of software, wherein the method comprises the steps of simulating the operation action of WebAPP by a user through Phantomjs and Selenium, converting the obtained operation action and operation content into input parameters of the API service interface, analyzing the result returned by the operation action, and taking the analyzed result as the output parameters of the API service interface. The method and the device have the advantages that under the condition that a large amount of research and development teams are not required to develop an OPEN-API platform, the WebApp can be quickly converted into the API service interface, the cooperative docking with a third-party platform is realized, the development cost is reduced, and the application scene of the WebApp is increased.

Description

Method for converting WebAPP into API service interface
Technical Field
The invention relates to the field of software, in particular to methods for converting WebAPP into an API service interface.
Background
At present, the WebAPP is an App realized by using a webpage technology, from simple webpages for helping consumers calculate automobile rental fees to large and complex Web sites for providing a whole set of travel services for business personnel and vacationers, the WebApp belongs to the WebApp, and generally, the Web App runs on a network and a standard browser and develops an application with a specific function based on the webpage technology.
Disclosure of Invention
The invention aims to solve technical problems in the related art at least at the degree, and therefore the invention aims to provide method for quickly converting a webpage-side WebApp application into an API service interface.
The technical scheme adopted by the invention is as follows:
, an embodiment of the present invention provides a method for converting WebAPP into an API service interface, including:
obtaining input parameters of the API service interface, wherein the input parameters comprise: operation actions and operation contents;
simulating the user to execute the operation action according to the operation content by using Phantomjs and Selenium;
converting result page data returned by the operation action to obtain a response result;
analyzing the response result to obtain an analysis result as an output parameter of the API service interface;
the response result includes one or more of a Json format object, an Xml format object, an Html format object, a Byte stream data object, and a picture object.
, the Phantomjs acquires the user identity information in real time, stores and maintains the user identity information, and the user identity information comprises Cookie and Token.
, the analysis of the Json format object is specifically that the Json format object is converted based on a Python Json library and Json data in a preset output format is generated and used as an analysis result.
, the parsing of the Xml-format object is specifically that Json data in a preset output format, which is generated by parsing the Xml-format object based on the beautiful soup Xml parser, is used as a parsing result.
, analyzing the Html format object specifically includes analyzing page elements based on a Beautiful Soup Html engine and generating Json data in a preset output format as an analysis result.
, the parsing of the Byte stream data object is specifically that the Byte stream data object is converted into a character string according to the encoding, and then the character string is converted into Json data in a preset output format as a parsing result.
, the parsing of the picture object is specifically that the name of the picture is uploaded to a picture server to generate a url address of the corresponding picture as a parsing result, and the url address format is a Json data format.
In a second aspect, an embodiment of the present invention further provides apparatus for converting WebAPP into an API service interface, where the apparatus includes:
an input parameter acquisition module: input parameters for obtaining the API service interface, the input parameters including: operation actions and operation contents;
the user operation action simulation module: the operation action is executed by simulating the user according to the operation content by utilizing Phantomjs and Selenium;
a response result obtaining module: the data processing device is used for converting the result page data returned by the operation action to obtain a response result;
and the result analysis output module is used for analyzing the response result to obtain an analysis result as an output parameter of the API service interface, and the response result comprises or more of a Json format object, an Xml format object, an Html format object, a Byte stream data object and a picture object.
In a third aspect, an embodiment of the present invention provides kinds of kinds of devices that convert WebAPP into an API service interface, including:
at least processors, and a memory communicatively coupled to the at least processors;
wherein the processor is configured to perform the method of any of of aspect by invoking a computer program stored in the memory.
In a fourth aspect, embodiments of the invention provide computer-readable storage media storing computer-executable instructions for causing a computer to perform the method of any of aspect .
The embodiment of the invention has the beneficial effects that:
the embodiment of the invention carries out WebAPP operation actions by using Phantomjs and Selenium simulation users, obtains the operation actions and operation contents as input parameters of an API service interface, converts result page data returned by the operation actions to obtain response results, and finally analyzes the response results to obtain analysis results as output parameters of the API service interface, wherein the response results comprise: a Json format object, an Xml format object, an Html format object, a Byte stream data object, and a picture object. According to the embodiment of the invention, the online WebApp project code is not required to be modified, only the online WebApp is required to be packaged, the input parameter and the output parameter which are used as the API service interface are extracted, the source code is not invasive, the webpage end WebApp application is quickly converted into the API service interface, and the WebApp only applied by the webpage end can quickly realize the cooperative docking of the API interface service of the WebApp and a third-party platform under the condition that a large amount of research and development teams are not required to develop the OPEN-API platform, so that the development cost is reduced, and the application range of the WebApp is expanded.
is generally applicable to software domains that require converting a WebApp application into an API service interface.
Drawings
FIG. 1 is a flowchart illustrating an implementation embodiment of a method for converting WebAPP into an API service interface;
FIG. 2 is a flowchart illustrating a specific embodiment of a method for converting WebAPP into an API service interface in accordance with the present invention;
FIG. 3 is a block diagram illustrating an embodiment of converting WebAPP into an API service interface device.
Detailed Description
It should be apparent that the drawings in the following description are only examples of the invention, and other drawings and embodiments can be obtained by those skilled in the art without creative effort.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The terms of the present invention are described below:
APP: the software is installed on the intelligent terminal.
Application Programming Interface (API), predefined functions, are intended to provide applications and developers the ability to access sets of routines based on certain software or hardware, without accessing source code or understanding the details of the internal workings.
WebKit is open source browser engines.
Xml, a subset of standard generalized markup language, is markup languages used to mark electronic documents to be structured.
Html applications under the standard universal Markup Language (Hyper Text Markup Language) are not programming languages but Markup languages (Markup languages).
Example :
an embodiment of the present invention provides methods for converting WebAPP into an API service interface, where fig. 1 is a flowchart illustrating an implementation of the method for converting WebAPP into an API service interface, as shown in fig. 1, the method includes the following steps:
s1: and acquiring the operation action and the operation content as input parameters of the API service interface.
For example: specifically, the incoming date is automatically input by using a headless browser, and a click on a corresponding query button (generating a click on the query button action) and a date are simulated and defined as input parameters.
S2: and simulating the user to execute the operation action according to the operation content by using Phantomjs and Selenium.
Phantomjs is headless browsers based on a webkit kernel, namely browsers without UI interfaces, and means browsers which need to be implemented by program design for human-related operations such as clicking and page turning of the interior, Selenium is a browser automation testing frame, is tools for Web application testing, and has the main functions of testing the compatibility of Web applications and browsers, namely testing whether the applications can work on different browsers and operating systems well.
In this embodiment, the Selenium testing tool directly runs in the Phantomjs headless browser, and the resulting effect is similar to that of a real user operating the application , specifically, the Selenium may utilize the Phantomjs to simulate the operation actions of the user in the browser according to the testing instruction, such as automatically loading a page, inquiring about a click operation, determining whether some actions on a website occur, and the like, and execute corresponding actions, such as simulating a click action of the user.
S3: and converting result page data returned by the operation action to obtain a response result, wherein the result page data refers to the result returned by the corresponding operation action and the operation content in the WebApp, and for example, if the date is inquired, the corresponding date is returned.
S4: analyzing the response result to obtain an analysis result as an output parameter of the API service interface, where the response result in this embodiment includes: a Json format object, an Xml format object, an Html format object, a Byte stream data object, and a picture object.
, in this embodiment, user identity information is also obtained in real time through Phantomjs, and is stored and maintained, where the user identity information includes cookies and Token, and the particular Phantomjs maintains the user identity information in corresponding cookies and Token pools.
Wherein a Cookie refers to data (typically encrypted) that certain Web sites store on the user's local terminal for purposes of user identity identification, session tracking, and contains information about the user whose Cookie information is accessible by the Web site whenever the user links to a server.
After the user logs in for the th time, the server generates tokens and returns the tokens to the client, and the client only needs to take the tokens to request data later, and does not need to take the user name and the password again.
Simple Token composition, uid (user unique ID), time (timestamp of current time), sign (signature, hexadecimal string compressed by hashing the first few bits of Token to prevent Token leakage).
In specific embodiments, Token can be obtained in the following manner.
Cookie of current page is obtained by combining phantomjs #
Get _ cookies (); # used to analyze whether the cookie contains a token element, if so, automatically fetching the corresponding token value according to the parameter name
For example, using headless browser to analyze that the cookie contains token with value dhjhsd123 dsffsafsfaffdfaf, it is extracted.
In step S4 of the present embodiment, the process of analyzing the different response results is as follows.
1) The analysis of the Json format object specifically comprises the following steps: and converting the Json format object based on the Python Json library and generating Json data in a preset output format as an analysis result.
Based on subsets of ECMAScript (js specification established by the continental computer association), the Json (javascript Object notation) is an lightweight data exchange format, stores and represents data in a text format completely independent of a programming language, has a concise and clear hierarchy, is a data exchange language, and is easy to machine and generate.
In this embodiment, as an API service interface of the WebAPP, an output parameter format of the API service interface adopts a Json format, where the preset output format refers to a Json data format defined according to a conversion requirement, for example, an input format requirement of a third-party platform that interfaces with the API service interface, and the like.
2) The specific analysis of the object in the Xml format is as follows: and analyzing the Xml format object based on the Beautiful Soup XML analyzer and generating Json data in a preset output format as an analysis result.
The Beautiful Soup is Python libraries capable of extracting data from HTML or XML files, can realize familiar document navigation, searching, document modification and the like through a favorite converter, and can save hours or even days of working time through the Beautiful Soup.
In this embodiment, an XML parser of beautilfsound is used to parse the XML format, and convert the XML format into a Json data format defined by a conversion requirement as an output parameter of the API service interface.
3) The analyzing the Html format object specifically includes: and analyzing the page elements based on the Beautiful Soup html engine and generating Json data in a preset output format as an analysis result. Wherein Html includes: static pages and dynamic pages.
4) The analyzing the Byte stream data object specifically comprises the following steps: and converting the character string into a character string according to the code, and then converting the character string into Json data in a preset output format as an analysis result.
5) The specific step of analyzing the picture object is that the name of the picture is uploaded to a picture server to generate a url (unified resource locator, namely, domain name) address of the corresponding picture as an analysis result, wherein the format of the output url address of the picture is Json data in a preset output format.
In the embodiment, the response speed of the API service interface based on the headless browser simulation request depends on the loading speed of the corresponding WebApp, the headless browser involved in the process is opened and closed, the resource consumption is serious, if the WebApp is opened slowly, the response speed of the API service interface after conversion is relatively slow, the concurrency number of the interface can be increased through the headless browser pool, and when the loading speed of the webpage of the source WebApp is not high enough, the speed is increased by using a preloading technology, so that the resource is loaded in advance to deal with the high concurrency condition. In addition, the pure headless browser requests are long in time, so that the request time can be reduced by combining the headless browser and the maintained Token pool.
As shown in fig. 2, which is a flowchart of specific implementations of this embodiment, it can be seen that the flowchart includes the following steps:
1) enter parameters and initiate a service interface conversion request.
2) And judging whether the currently input parameters are reasonable or not.
3) If it is reasonable, the input parameters are converted into the script commands of Phantomjs.
4) And acquiring a Phantomjs thread from the browser pool to access the WebAPP, and executing the script action.
5) Judging whether the script action is successfully executed, and if the script action is successfully executed, judging the data format of the response result, such as: json format object, Xml format object, Html format object, Byte stream data object, picture object, etc.; if the execution is unsuccessful, resolving the failed result into a Json format object, and returning the screenshot of the failed page to a URL format.
6) And resolving into different output parameters according to the format of the response result.
The following description takes the case that a WebAPP webpage (html5 version) of a certain taxi taking platform is converted into an API service interface, that is, a taxi taking page is packaged into a taxi taking interface, and the method comprises the following steps:
1) user incoming parameters including: departure a, destination B.
2) The method comprises the following steps that a background acquires a departure place A and a destination B, and specifically comprises the following steps: loading a taxi taking platform html5 home page through phantomjs, acquiring a departure place and a destination input box through find _ element _ by _ xpath (used for identifying page elements), and sending a request for inputting a text through send _ keys (used for inputting character strings into the elements).
3) The method comprises the steps of obtaining a car calling button element through find _ element _ by _ xpath of phantomjs, obtaining a calling button clicking method, starting an actual car calling request through a background thread, automatically running in a background, and waiting for a return result.
4) If the taxi calling request is responded, the background thread stores the current successful screenshot result through get _ screen _ as _ file, and analyzes the html page static data after the taxi calling response through BeatufiulSoup, and the html page static data and the screenshot result are simultaneously used as parts of output parameters
5) The final output parameters are: and respectively converting the URL of the screenshot picture and the static html page analysis result into a Json data format in a preset output format, and returning the Json data format to the caller in a restful interface mode.
The above describes in detail the process of converting the WebAPP web pages of the taxi-taking platforms into API service interfaces, and it can be understood that all platforms of html5 application can implement automatic conversion into API interfaces in this way.
Further , in embodiments, tools used are as follows, for example:
the interface parameter analysis and conversion general tool class is used for converting the interface parameters into a dynamic execution phantomjs script;
the method comprises the steps that a phantomjs browser pool is maintained in a login state and used for preloading a webpage and accelerating the request analysis speed;
parsers such as xml parsers, html parsers, byte stream parsers, and other parsers;
and the general conversion tool class is used for converting the analysis file into Json data.
In this embodiment, a Phantomjs and a Selenium are used to simulate a user to perform a WebAPP operation, acquire an operation and operation content as input parameters of an API service interface, convert result page data returned by the operation to obtain a response result, and finally analyze the response result to obtain an analysis result as an output parameter of the API service interface, where the response result includes: a Json format object, an Xml format object, an Html format object, a Byte stream data object, and a picture object.
Example two:
this embodiment provides apparatuses for converting WebAPP into an API service interface, configured to execute the method described in embodiment , as shown in fig. 3, which is a block diagram of an apparatus for converting WebAPP into an API service interface in this embodiment, and includes:
the input parameter acquiring module 10: the method comprises the following steps of obtaining input parameters of the API service interface, wherein the input parameters comprise: operation actions and operation contents;
the simulation user operation action module 20: the operation action is executed according to the operation content by utilizing Phantomjs and Selenium simulation users;
get response results module 30: the data processing device is used for converting the result page data returned by the operation action to obtain a response result;
and the result analysis output module 40 is used for analyzing the response result to obtain an analysis result as an output parameter of the API service interface, wherein the response result comprises types or more of Json format objects, Xml format objects, Html format objects, Byte stream data objects and picture objects.
In addition, the invention also provides kinds of equipment for converting the WebAPP into the API service interface, which comprises the following steps:
at least processors, and a memory communicatively coupled to the at least processors;
wherein the processor is operable to perform the method of embodiment by invoking a computer program stored in the memory.
Additionally, the present invention provides computer-readable storage media storing computer-executable instructions for causing a computer to perform the method as described in embodiment .
According to the invention, the on-line WebApp project code is not required to be modified, only the on-line WebApp is required to be packaged, the input parameter and the output parameter which are used as API service interfaces are extracted, the source code is not invasive, the webpage end WebApp application is quickly converted into the API service interface, so that under the condition that a large amount of research and development teams are not required to develop the OPEN-API platform, the WebApp only applied by the webpage end can quickly realize the cooperative butt joint of the API interface service of the WebApp and a third-party platform, the development cost is reduced, the application range of the WebApp is expanded, and can be widely applied to the software field which needs to convert the WebApp application into the API service interface.
The above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same, although the present invention is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; these modifications and substitutions do not depart from the spirit of the embodiments of the present invention, and the scope of the present invention is defined by the appended claims and the description.

Claims (10)

1, A method for converting WebAPP into API service interface, comprising:
obtaining input parameters of the API service interface, wherein the input parameters comprise: operation actions and operation contents;
simulating the user to execute the operation action according to the operation content by using Phantomjs and Selenium;
converting result page data returned by the operation action to obtain a response result;
analyzing the response result to obtain an analysis result as an output parameter of the API service interface;
the response result includes one or more of a Json format object, an Xml format object, an Html format object, a Byte stream data object, and a picture object.
2. The method of for converting WebAPP into an API as recited in claim 1, wherein Phantomjs obtains user identity information in real-time, stores and maintains the user identity information, and the user identity information includes Cookie and Token.
3. The method of transforming WebAPP into an API service interface as claimed in any one of claims 1 or 2 to , wherein the parsing of the Json format object is specifically to transform the Json format object based on a Python Json library and generate Json data in a preset output format as a parsing result.
4. The method of transforming WebAPP into the API service interface as recited in any one of claims 1 and 2 to , wherein the parsing of the Xml format object is performed based on a Beautiful Soup XML parser parsing the Xml format object and generating Json data in a preset output format as a parsing result.
5. The method of transforming WebAPP into the API service interface as recited in any one of claims 1 or 2 to , wherein the parsing of the Html format object is specifically based on a Beautiful Soup Html engine parsing page elements and generating Json data in a preset output format as a parsing result.
6. The method of of claim 1 or 2 or wherein the parsing of the Byte stream data object is converting the Byte stream data object into a string according to an encoding and then converting the string into Json data in a predetermined output format as a parsing result.
7. The method of transforming WebAPP into an API service interface as claimed in any one of claims 1 or 2 to , wherein the parsing of the picture object is specifically that the name of the picture is uploaded to a picture server to generate a url address of a corresponding picture as a parsing result, and the url address format is Json data format.
8, kind of device for converting WebAPP into API service interface, characterized by comprising:
an input parameter acquisition module: input parameters for obtaining the API service interface, the input parameters including: operation actions and operation contents;
the user operation action simulation module: the operation action is executed according to the operation content by utilizing Phantomjs and Selenium simulation users;
a response result obtaining module: the data processing device is used for converting the result page data returned by the operation action to obtain a response result;
and the result analysis output module is used for analyzing the response result to obtain an analysis result as an output parameter of the API service interface, and the response result comprises types or more of Json format objects, Xml format objects, Html format objects, Byte stream data objects and picture objects.
An apparatus for converting WebAPP into an API service interface of , comprising:
at least processors, and a memory communicatively coupled to the at least processors;
wherein the processor is operable to perform the method of any of claims 1 to 7 to by invoking a computer program stored in the memory.
10, computer-readable storage media storing computer-executable instructions for causing a computer to perform the method of any of claims 1-7 through .
CN201910902970.3A 2019-09-24 2019-09-24 Method for converting WebAPP into API service interface Pending CN110738024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910902970.3A CN110738024A (en) 2019-09-24 2019-09-24 Method for converting WebAPP into API service interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910902970.3A CN110738024A (en) 2019-09-24 2019-09-24 Method for converting WebAPP into API service interface

Publications (1)

Publication Number Publication Date
CN110738024A true CN110738024A (en) 2020-01-31

Family

ID=69269550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910902970.3A Pending CN110738024A (en) 2019-09-24 2019-09-24 Method for converting WebAPP into API service interface

Country Status (1)

Country Link
CN (1) CN110738024A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813443A (en) * 2020-07-28 2020-10-23 南京大学 Method and tool for automatically filling code sample by JavaFX
CN112667933A (en) * 2020-12-28 2021-04-16 上海蓝云网络科技有限公司 Data processing method and device, electronic equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797399A (en) * 2004-11-11 2006-07-05 微软公司 Application programming interface for text mining and search
CN105872083A (en) * 2016-05-19 2016-08-17 湖州微未信息科技有限公司 Method and system supporting server access by different types of clients as well as server
CN108363588A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Realize method, electronic device and readable storage medium storing program for executing that web is interacted with primary function
CN108446230A (en) * 2018-03-19 2018-08-24 南京邮电大学 A kind of Java test code quality evaluation methods of web oriented Driver
CN109241387A (en) * 2018-08-28 2019-01-18 四川长虹电器股份有限公司 Grab the crawler analysis method of social media information
CN109885792A (en) * 2019-01-04 2019-06-14 石化盈科信息技术有限责任公司 A kind of APP bridging method based on webdriver technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797399A (en) * 2004-11-11 2006-07-05 微软公司 Application programming interface for text mining and search
CN105872083A (en) * 2016-05-19 2016-08-17 湖州微未信息科技有限公司 Method and system supporting server access by different types of clients as well as server
CN108363588A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Realize method, electronic device and readable storage medium storing program for executing that web is interacted with primary function
CN108446230A (en) * 2018-03-19 2018-08-24 南京邮电大学 A kind of Java test code quality evaluation methods of web oriented Driver
CN109241387A (en) * 2018-08-28 2019-01-18 四川长虹电器股份有限公司 Grab the crawler analysis method of social media information
CN109885792A (en) * 2019-01-04 2019-06-14 石化盈科信息技术有限责任公司 A kind of APP bridging method based on webdriver technology

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813443A (en) * 2020-07-28 2020-10-23 南京大学 Method and tool for automatically filling code sample by JavaFX
CN111813443B (en) * 2020-07-28 2023-07-18 南京大学 Method and tool for automatically filling code sample by using Java FX
CN112667933A (en) * 2020-12-28 2021-04-16 上海蓝云网络科技有限公司 Data processing method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US7814410B2 (en) Initial server-side content rendering for client-script web pages
US7992127B2 (en) Method and system of encapsulating web site transactions for computer-aided generation of web services
CN110457143B (en) Micro-service calling method and device
CN109324788B (en) React and Nodejs-based server rendering method
US7739697B2 (en) System and method for creating web services from an existing web site
CN104063401B (en) The method and apparatus that a kind of webpage pattern address merges
US7657591B2 (en) Dispatching client requests to appropriate server-side methods
CN111831384A (en) Language switching method and device, equipment and storage medium
CN110738024A (en) Method for converting WebAPP into API service interface
US20060193342A1 (en) System and method for testing a protocol using targeted variant input
KR20130085856A (en) Method and apparatus for creating automatically a widget to invoke heterogeneous web services in a composite application
JP5151696B2 (en) Program to rewrite uniform resource locator information
Balachandar RESTful Java Web Services: A pragmatic guide to designing and building RESTful APIs using Java
JP2009031960A (en) Technology for relaying communication between client device and server device
Tashtoush et al. Swagger-based jquery ajax validation
CN110516185B (en) Method and device for processing dynamic website
Gao et al. Generating open api usage rule from error descriptions
EP1674991A2 (en) System and method for creating web services from an existing web site
KR20140000373A (en) Method and apparatus for displaying web page using compiled javascript code
CN114117276A (en) Page rendering method, device, equipment and storage medium
Gomathi et al. Pyrun–Auto solution searching feature in an online Python interpreter
CN113901365A (en) Performance pressure measurement platform and method, electronic equipment and readable medium
CN117675238A (en) Data access method, device, electronic equipment and storage medium
CN115589578A (en) Multimedia webpage protocol information conversion method, device and system
CN116757166A (en) Document generation method and device, processor and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination