|
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
options.
(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
PM:consume
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
a
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.
Just curious
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.