On Mar 31, 2009, at 2:02 PM, The Green Tea Leaf wrote:
I'm considering writing an app that communicates with a web service
which
have api that allows the use of the protocols REST and JSON. Knowing
nothing
about these protocols/standards I've been looking for some classes
that
implements support for REST/JSON. I've found but my Google skills
fail on
REST (Realbasic and "programming for the rest of us" is VERY
popular), does
anyone know of some class for REST
If the web service you wish your application to communicate with has
an API that supports REST, then you can easily use REALbasic's built-
in XML classes with REALbasic's HTTPSocket control. Since most REST-
based APIs consist of you sending an HTTP Request to the web service,
and then receiving the Response in XML, you can code your HTTPSocket
to parse the received XML data using REALbasic's XML classes. This is
what I did when I developed my WSL-Amazon component in REALbasic,
which communicates with Amazon's Web Services via REST.
Hope that helps...
Regards,
Dave Wooldridge
Electric Butterfly
http://www.ebutterfly.com
-------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|