×
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.
See the “redirect” HTTP option:
https://www.ibm.com/docs/en/i/7.4?topic=functions-http-get-http-get-blob#rbafzscahttpget__HTTP_options
-----------------------------------------------
Nadir Amra
e-mail: amra@xxxxxxxxxx
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of gio.cot via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
Date: Monday, November 25, 2024 at 1:03 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: gio.cot <gio.cot@xxxxxxxxxxx>
Subject: [EXTERNAL] HTTP_STATUS_CODE":302" with QSYS2.HTTP_GET_VERBOSE
Hi all
If i run this statament
"VALUES
(SYSTOOLS.HTTPGETCLOB('
https://zzz.xxxxxx.com/api/v1/mapping/catalog ',
'<httpHeader> <header name="Authorization" value="Basic Y____u"/>
</httpHeader>'));" it works fine.
Instead if i run
"select * from
table(QSYS2.HTTP_GET_VERBOSE('
https://zzz.xxxxxx.com/api/v1/mapping/catalog/
', '{"headers": {
"Authorization" : "Basic Y____u", "requireSecure": "true"} } ')) as x ;"
I receive this error "{"HTTP_STATUS_CODE":302,"Date":"Sun, 24 Nov 2024
13:42:34 .."
Any suggestion to solve this problem ?
Thanks in advance
Gio
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l .
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.