Get method (NotesHTTPRequest - LotusScript)

Sends a request to a web server to retrieve a resource.

Defined in

NotesHTTPrequest

Syntax

Call NotesHTTPRequest.get(URL$)

Parameters

URL$

String. The URL that is needed to send the request.

Return value

Variant

Returns Variant content as JSON UTF8 byte array. Use the preferstrings property to return Unicode rather than UTF8 byte array.

Example

Dim webRequest as NotesHTTPRequest
Set webRequest = NotesSession.CreateHTTPRequest()
Call webRequest.get(URL$)