I am uncertain what you are asking. Any client library would have thethe
ability to set HTTP headers. If you are asking how would you retrieve
HTTP headers that are sent by a client to an IWS service, you have two03:19:24
(1) Inject the HTTP header into an input field, or
(2) In the web service properties, there is a "Request Information" tab,
where you can specify what information (transport meta-data or HTTP
headers) that will be sent the the web service implementation code as a
job environment variable.
"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 01/15/2019
From: Don Brown <DBrown@xxxxxxxxxx><web400@xxxxxxxxxxxxxxxxxx>
To: "Web Enabling the IBM i\(AS/400 and iSeries\)"
Date: 01/15/2019 03:20 PM
Subject: Re: [WEB400] Using REST service created with IWS
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>
I have been following this thread while working on a project to
REST service from RPG with an external system.in
In my case there are a lot of options that are required in the HEADER.
In IWS you can define a parameter type as HEADER (think this was shown
a previous response)
How do you include the header settings in the call.
I am using HTTPAPI and it provides a call back to handle this.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.