Skip to main content

NotesHTTPRequest

Properties

NameDescription
Maxredirects propertyNumber of redirects allowed in the HTTP request.
PreferJSONNavigator propertyIt is a Boolean value that can be set to either True or False. By default, it is set to False.
Preferstrings propertyControls the format used for the output of international characters.
PreferUTF8 property (NotesHTTPRequest)This property is automatically set based on the values of two other properties: Preferstrings and Preferjsonnavigator. If either of these two properties…
Responsecode propertyReturns the HTTP response code for a request to help identify any problem loading the request. This property is read-only.
Timeoutsec propertyTimeout in seconds for an HTTP request.

Methods

NameDescription
Get methodSends a request to a web server to retrieve a resource.
GetResponseHeaders methodReturns a variant array of the response headers.
Patch methodSends a request to a web server to partially update a resource.
Post methodSends a request to a web server to create or update a resource.
Put methodSends a request to a web server to create or update a resource.
ResetHeaders methodResets the headers that are used in the current request to the defaults.
Resetproxy methodReset proxy was set in previous Setproxy call. After call Resetproxy, the upcoming request will not use proxy.
SetHeaderField methodSets content headers to be used in a request to a web server.
Setproxy methodSet proxy to use for the upcoming request.
Setproxyuser methodSet user name and password to be used in authentication with the proxy.