× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am uncertain what you are asking. Any client library would have the
ability to set HTTP headers. If you are asking how would you retrieve the
HTTP headers that are sent by a client to an IWS service, you have two
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 03:19:24
PM:

From: Don Brown <DBrown@xxxxxxxxxx>
To: "Web Enabling the IBM i\(AS/400 and iSeries\)"
<web400@xxxxxxxxxxxxxxxxxx>
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 consume
a
REST service from RPG with an external system.

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
in
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





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.