|
Hi all,
I hope you are all doing well in this age of the pandemic.
Regarding returning a payload on an error HTTP status code, where
previously you could not do that. Just wanted to let you know in the
latest HTTP group PTFs for 7.2, 7.3, and 7.4, you will have ability to
indicate one of the following:
(1) Do not return payloads on errors (this is current default)
(2) Return all output parameters on errors
(3) Return a character field parameter on error
The third option allows you to send any type of payload (e.g. json, xml,
html) as long as you set the content-type http header correctly.
More details on the web site[1].
Let me know if you have any questions. Take care.
[1] https://www.ibm.com/support/pages/node/633935
"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 01/26/2020 11:07:27
AM:
From: "Nadir Amra" <amra@xxxxxxxxxx>05:03:56
To: "Web Enabling the IBM i \(AS/400 and iSeries\)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 01/26/2020 11:07 AM
Subject: [EXTERNAL] Re: [WEB400] Reg: Suggestions Required for Web
Services for IBMi
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>
From IWS perspective, for issue (1), this should be resolved in first
quarter. issue (2), we are looking into it.
"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 01/24/2020
PM:need
From: Suren K <suren7437@xxxxxxxxx><web400@xxxxxxxxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
Date: 01/24/2020 05:04 PM
Subject: [EXTERNAL] [WEB400] Reg: Suggestions Required for Web
Services for IBMi
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>
Hi All,
I am planning to introduce Web Services for my IBMi application. I
some suggestion to choose which Web Services to go with.Based
This web services which i am planning will be mainly focused for REST
API Calls. Also i did a small POC in my application using Scott's YAJL
toolwithin
using DATA-INTO and DATA-GEN for Parsing JSON Document into DataStructure
and vice versa. So i am planning to use Scott's YAJL tool as well.drawbacks
Initially i thought of using IWS, but i could see the below two
with IWSper
1) In Error Scenario the JSON body will not be sent back to Client
2) It Supports only 4 HTTP methods (GET, PUT, DELETE and POST) but as
my application requirement i need to use PATCH method as well.
Do any one knows when IBM will fix the above two stuffs? If it is
--
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.