I am curious how to convert the following systools.httppostclob header from...
...to the new qsys2.http_post header in json format. I believe this is it, but I cannot find the equivalent of includeErrorMsg="true"
Is this correct?
When reviewing the following page for http options for the new QSYS2 http functions, it does not specify how to specify a header values that are xml attributes (ie. connectionTimeout in httpHeader).
Thoughts?
Code:
<httpHeader connectionTimeout="10000" readTimeout="10000" includeErrorMsg="true"> <header name="Content-Type" value="application/json"/> <header name="Authorization-key" value="xyz123"/> <header name="Authorization-Username" value="xyz123"/> </httpHeader>
Code:
{ "header":"connectTimeout, 10000" , "header":""ioTimeout, 10000" , "header":"signalErrors, true" }
When reviewing the following page for http options for the new QSYS2 http functions, it does not specify how to specify a header values that are xml attributes (ie. connectionTimeout in httpHeader).
Thoughts?
Comment