NotesHTTPRequest (LotusScript)

LotusScript class used to make HTTP requests to web servers.

Note: Starting with Domino 14.5 server, the NotesHTTPRequest LotusScript class methods will, by default, load Trusted Roots from the Domino Directory when running on a Domino server. Previously, trusted root certificates were loaded from the file "cacerts.pem" in the Domino data directory. This new change doesn't impact NotesHTTPRequest LotusScript class behavior on the Notes client.

If you prefer to maintain the previous behavior and continue using "cacerts.pem", you can do so by setting the server-side Notes.ini parameter: NotesHTTPRequest_Use_CACerts=1

Containment

Contained by .

Properties

Maxredirects

Preferstrings

Responsecode

Timeoutsec

Methods

DeleteResource

Get

Post

Put

Patch

ResetHeaders

GetResponseHeaders

SetHeaderField

Setproxy

Setproxyuser

Resetproxy

Creation

To create a new NotesHTTPRequest object, use CreateHTTPRequest.

Syntax

Given a session:
Dim webRequest As NotesHTTPRequest
set webRequest = NotesSession.CreateHTTPRequest()