User bio
404 bio not found
Member since Apr 27, 2017
Replies:

Are you able to set those Status and HTTPheaders straight into the instance of EnsLib.HTTP.GenericMessage in your code. like below

Set httpGeneric = ##Class(EnsLib.HTTP.GenericMessage).%New() ; this was already initiated in your business host via code.
set att("Status")=..#HTTP400BADREQUEST
do httpGeneric.SetAttributes(.att)
set httpHeader("ContentType")="application/json"
set httpHeader("totalcount")=totalcount
do httpGeneric.SetHTTPHeaders(.httpHeader)
Open Exchange applications:
Certifications & Credly badges:
Global Masters badges:
Followers:
Following: