realbasic-nug
[Top] [All Lists]

Re: REST

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: REST
From: Dave Wooldridge <electric.butterfly@mac.com>
Date: Tue, 31 Mar 2009 14:56:53 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <3753b0ed0903311402m20a8832dqfd24972782a74b48@mail.gmail.com>
References: <3753b0ed0903311402m20a8832dqfd24972782a74b48@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
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>


<Prev in Thread] Current Thread [Next in Thread>
  • REST, The Green Tea Leaf
    • Re: REST, Charles Yeomans
    • Re: REST, Dave Wooldridge <=