Page History
A carriage-return/line-feed character will be used to separate the two pieces of informationReturns the version of the SRP HTTP Framework being used.
Syntax
Code Block |
---|
Response = HTTP_Services('GetVersion') |
Returns
N/A
Parameters
N/A
Remarks
The RunHTTPService service is the official way to call specific web service APIs. The HTTPService argument should contain the same name found in the URL segment that corresponds with the API resource. For instance, for the /customers
URL, the HTTPService argument should contain the value of customers. This will call the HTTP_CUSTOMERS_SERVICES
BASIC+ routine.
The information is stored in the SRP_HTTP_FRAMEWORK_VERSION configuration record. The response will be in the following format:
x.x.x [RCx]
mm.dd.yyyy hh:mmA/P
A carriage-return/line-feed character will be used to separate the two pieces of informationThe RemainingURL argument will contain the value of the remaining portion of the URL that follows the current URL segment. Examples of managing this are found in the HTTP_Entry_Point_Services routine.