|
From: Jay Vaughn <jeffersonvaughn@xxxxxxxxx><midrange-l@xxxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion
Date: 02/14/2019 09:57 AMgoing
Subject: Re: Help With Getting HTTP Server running
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
thanks Bradley - still not quite what i'm looking for...
i think i may just about have it with the SK yahlserver setup...
so I can now reach my endpoint...
my iseries YAJL pgm gets called but there seems to be some encoding
on that is throwing off my json string...
This is what I'm calling from ARC using the GET method...
/rest/wsr00000/{"env":"D3X","command":"GET_LOAN_BORROWER","payload":
[{"loanNumber":2428}]}
in debug over on the i, I get this interpretation of it...
EVAL l_url
L_URL =
....5...10...15...20...25...30...35...40...45...50...55...60
1 '/rest/wsr00000/%7B%22env%22:%22D3X%22,%22command%22:%22GET_L'
61 'OAN_BORROWER%22,%22payload%22:[%7B%22loanNumber%22:2428%7D]%'
121 '7D
how can I preserve the original string format of the json input?
Ive tried enclosing the json input string in single quotes but no luck.
I've also tried an escape version of the string with no luck...
{\"env\":"D3X",\"command\":\"GET_LOAN_BORROWER\",\"payload\":
[{\"loanNumber\":2428}]}
any suggestions? almost there!
Jay
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.