× 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.



Yes, CGIDEV2 or eRPG SDK has functions that will easily read and parse
cookies, as I said.



On Thu, Nov 21, 2019 at 3:10 PM anshul narang <narang.anshul@xxxxxxxxx>
wrote:

Thanks Booth and Nadir.

For client side : I believe axis transport or QtmhGetEnv API are the only
solutions.

Do we have any other easy way :)

Thanks
Anshul



On Thu, Nov 21, 2019 at 3:40 PM Nadir Amra <amra@xxxxxxxxxx> wrote:

If you are talking from the client side and you are using the transport
APIs, then you would use: axiscTransportGetProperty() with
AXISC_PROPERTY_HTTP_HEADER.

If you are talking about the server, HTTP headers are passed as
environment variables or, for REST services, you could inject HTTP
headers
into an input parameter via the input source of *HEADER_PARAM.

"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 11/21/2019
12:16:56
PM:

From: anshul narang <narang.anshul@xxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 11/21/2019 12:17 PM
Subject: [EXTERNAL] [WEB400] How to use cookies for authentication
in Header in IWS ?
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

Hello All

I am trying to use cookies in rest webservices header .How do we read
these
cookies in Rpgle program . Can somebody please shed some light on this




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



--

Thank You

Anshul Narang
--
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 thread ...

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.