|
|
|
|
|
OpenAPIToHTTP (Function) In french: OpenAPIVersHTTP Builds the HTTP request to call a function of an API. New in version 2025
stParam1 is Param1
stParam1.Chaîne = "une chaîne"
stParam1.Entier = 2
stRet is MonResult
stRet = MaFonction(stParam1)
stParam1 is Param1
stParam1.Chaîne = "une chaîne"
stParam1.Entier = 2
cMaRequête is httpRequest = OpenAPIToHTTP(MaFonction, stParam1)
HTTPSend(cMaRequête)
Syntax
<Result> = OpenAPIToHTTP(<Function> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: httpRequest variable httpRequest variable corresponding to the generated HTTP request. <Function>: Character string Name of the function for which the HTTP request must be built. <Parameter 1>: Optional variant First parameter expected by the function. <Parameter N>: Optional variant Nth parameter expected by the function. Remarks OpenAPIToHTTP builds the HTTP request as a variable of type httpRequest, which can then be sent to the API using the following syntax: <API function>([<Function parameter 1> [, ... [<Function parameter N>]]]) The generated request can then be sent using HTTPSend.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|