ResetHeaders method (NotesHTTPRequest - LotusScript)

Resets the headers that are used in the current request to the defaults.

Defined in

NotesHTTPrequest

Syntax

Call NotesHTTPRequest.ResetHeaders()

Usage

Resets headers back to the defaults:
  • Accept: application/json
  • Content-Type: application/json
  • charsets: utf-8

Example

Dim webRequest as NotesHTTPRequest
Set webRequest = NotesSession.CreateHTTPRequest()
Call webRequest.ResetHeaders()