Nihat,
Just watch the ContentType sometime you have to translate the data between ascii to ebcdic. If application/json you will have to translate, if text/json the iSeries will do the translation.
If you need a working sample, I can send a couple. I spend my day writing API's for the Iseries.
John Slanina
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Nihat Ezer
Sent: Monday, June 19, 2017 3:20 AM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: Parse incoming JSON POST data by QtmhRdStin
Greetings,
Regarding the following article with HTTP GET method, I am now looking for a solution to receive/parse an incoming JSON POST request data with it.
Serve JSON Web Services with RPG and YAJL
http://iprodeveloper.com/rpg-programming/serve-json-web-services-rpg-and-yajl
Any help would be appreciated.
--
Thank you,
[
https://www.avivasa.com.tr/i/Assets/images//otomatik-katilim-imza-1.jpg]<
https://www.avivasa.com.tr/bes-otomatik-katilim-nedir>
Bu e-postanin i?erdigi bilgiler (ekleri dahil olmak ?zere) gizlidir. Onayimiz olmaksizin ???nc? kisilere a?iklanamaz. Bu mesajin g?nderilmek istendigi kisi degilseniz, l?tfen mesaji sisteminizden derhal siliniz. AvivaSA Emeklilik ve Hayat A.S. bu mesajin i?erdigi bilgilerin dogrulugu veya eksiksiz oldugu konusunda bir garanti vermemektedir. Bu nedenle bilgilerin ne sekilde olursa olsun i?eriginden, iletilmesinden, alinmasindan, saklanmasindan sorumlu degildir. Bu mesajin bilinen vir?slere karsi kontrolleri AvivaSA Emeklilik ve Hayat A.S. tarafindan yapilmistir. Ancak internet iletisiminde g?venlik ve hatasiz g?nderim garanti edilemeyeceginden, mesajin yerine ulasmamasi, ge? ulasmasi, i?eriginin bozulmasi ya da mesajin vir?s tasimasi gibi problemler olusabilir. AvivaSA Emeklilik ve Hayat A.S. bu tip sorunlardan sorumlu tutulmaz. Bu mesajin i?erigi yazarina ait olup AvivaSA Emeklilik ve Hayat A.S.'nin g?r?slerini i?ermeyebilir.
The information contained in this e-mail (including any attachments) is confidential. It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately. AvivaSA Emeklilik ve Hayat A.S. makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. This message is scanned for known viruses by AvivaSA Emeklilik ve Hayat A.S. But Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. The AvivaSA Emeklilik ve Hayat A.S. therefore does not accept liability for any errors or omissions in the context of this message which arise as a result of Internet transmission. Any opinions expressed in th
is message are those of the author and may not necessarily reflect the opinions of AvivaSA Emeklilik ve Hayat A.S.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.