I
Irfan
Guest
For "form" kind of applications, you can consider using "MultipartEntity" which can get the headers, path parameter and the body oEntityWriter = EntityWriterBuilder:Build(poRequest) :Writer. oEntityWriter:Open(). oEntityWriter:Write(poRequest:Entity). oEntityWriter:Close(). assign oEntity = cast(oEntityWriter:Entity, MultipartEntity) oPart = oEntity:GetPart(1) // Gets header oHeader = oPart:Headers:Get('Content-Disposition':u). mediaType = oPart:ContentType. // Gets the Path Parameter empNum = Integer(poRequest:GetPathParameter("CUSTID")). // Gets body which is a binary memptr1 = cast(oPart:Body,ByteBucket):GetBytes().
Continue reading...
Continue reading...