Put method (NotesHTTPRequest - LotusScript)

Sends a request to a web server to create or update a resource.

Defined in

NotesHTTPrequest

Syntax

Call NotesHTTPRequest.put(URL$, valueV)

Parameters

URL$

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

valueV

Variant. The variant content to send as the update for the resource. Variant content is a JSON string.

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.put(URL$, valueV)