Patch method (NotesHTTPRequest - LotusScript)

Sends a request to a web server to partially update a resource.

Defined in

NotesHTTPrequest

Syntax

Call NotesHTTPRequest.patch(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.patch(URL$, valueV)