com.HTTPPart.getHeader

Setter to handle HTTP multipart headers.

Syntax

getHeader(
   name STRING )
  RETURNING value STRING
  1. name is the name of the header part.
  2. value is the value for the header part specified by name.

Usage

Getter to handle HTTP multipart headers.

Note: In case of related multipart (i.e., the part is multipart/related and set via the com.HTTPRequest.setMultipartType("related",NULL,NULL)), it is mandatory to set a unique Content-ID header. To set up a unique Content-ID header, you can use the security.RandomGenerator.CreateUUIDString method for that.

Code Example

LET val = req.getHeader("MyClientHeader")