|
wrote:
I need to have an RPG program invoke a remote web service and that web
service uses JSON for its request and response. This requires a post
request, and I need to set the Accept: application/json and Content-Type:
application/json header attributesin the header, then send the json in the
body. I have used YAJL to construct the JSON correctly. My problem is that
all examples I can find show how to “BE” the web service, not how to
“CONSUME” a web service with JSON. I have previously invoke remote RESTful
web services that use XML via Scot Klement’s LIBHTTP utilites. The JSON
piece and header/body have me spinning in circles. Does anybody have an
samples they know of that show how to consume a web service that uses JSON
for the request and response?
Bill Freiberg
Applications Development Manager
[Description: Description: ims_smlogo]
Integrated Merchandising Systems, LLC
8338 Austin Avenue
Morton Grove, IL 60053
(847) 583-3821 Work
(630) 240-1584 Cell
This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. Dissemination, distribution or copying
of this email or the information herein by anyone other than the intended
recipient, or an employee or agent responsible for delivering the message
to the intended recipient, is prohibited.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
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.