If so, try application/json






From: "John R. Smith, Jr." <smith5646midrange@xxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 07/28/2018 01:02 PM
Subject: RE: REST service not sending JSON response body
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I've only done JSON in C#.net so maybe it does something automagically
that
the iSeries has to do manually. So, this might be a stupid question.

When I have dealt with JSON, the " Content-type: text/json" is part of the
headers and not part of the data. So, is it possible that the "Status:
500
Invalid URI??Content-type: text/json????" part is confusing it because it
is
not JSON formatted.





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.