Page History
...
Below is an example of how to do a simple GET request and get the response as a string:
Define_Com Class(#PRIM_SRVM.HttpClientRequest) Name(#Request)
...
Define_Com Class(#PRIM_DC.UnicodeString) Name(#ResponseText)
...
* Do the get request
#Request.DoGet Url('http://mytestserver/api/echoservice')
...
* Get the result as string
#ResponseText := #Request.Response.AsString
The HttpClientRequest has the following methods (each corresponds to an HTTP verb):
...