Interface calling method and device, computer equipment, and storage medium

A technology of interface calling and objects, applied in computing, multi-program device, program control design, etc., can solve problems such as inability to meet a wide variety of interface calling requirements

Pending Publication Date: 2018-11-06
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This application provides an interface calling method, device, computer equipment and storage medium, aiming at solving the problem that the interface calling between the function modules of the large-scale data cloud platform in the prior art generally adopts http request or https request, which cannot meet the requirements of various types. The problem of numerous interface call requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interface calling method and device, computer equipment, and storage medium
  • Interface calling method and device, computer equipment, and storage medium
  • Interface calling method and device, computer equipment, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0032] It is to be understood that, when used in this specification and the appended claims, the terms "comprising" and "comprising" indicate the presence of the described features, integers, steps, operations, elements and / or components, but do not exclude one or The presence or addition of a number of other features, integers, steps, operations, elements, components, and / or sets thereof.

[0033] It should also be understood that the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an interface calling method and device, computer equipment, and a storage medium. The method comprises the following steps: initializing an httpclient type object used for receiving written information; defining a variable used for receiving and storing execution result feedbacks; receiving an API calling request, and judging whether a request type is a get request or a post request; if the request type is the get request, generating a first returned object comprising a URL, inputting the first returned object into the httpclient type object, and feeding a first execution result, which is generated by execution, back to the variable for storage; and if the request type is the post request, generating a second returned object, adding parameters of apreset type into the second returned object, inputting the second returned object with the added parameters into the httpclient type object, and feeding a second execution result, which is generatedby execution, back to the variable for storage. The method has the advantages that interface calling during testing is extremely simple, abundant types of parameters can be supported, and the thread safety during calling is improved.

Description

technical field [0001] The present application relates to the technical field of interface invocation, and in particular, to an interface invocation method, apparatus, computer device and storage medium. Background technique [0002] At present, in a large-scale data cloud platform, if multiple functional modules are configured, the interface calls between the functional modules generally use http requests or https requests. However, in order to implement various types of calls in the existing interfaces, the required types of interface call requests are extremely large, and only http requests or https requests cannot meet the interface call requirements of large-scale data cloud platforms. SUMMARY OF THE INVENTION [0003] This application provides an interface invocation method, device, computer equipment and storage medium, which aims to solve the problem that in the prior art, the interface invocation between functional modules of large-scale data cloud platforms gener...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54G06F11/36
CPCG06F9/547G06F11/3684G06F11/3688
Inventor 吕三
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products