KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Building a REST Client
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: July 28, 2006

Many sites such as Yahoo, Ebay, and Amazon.com offers REST developer interface for their Web Services. Usually, they provide this as another option besides the SOAPversion of their web services. Representational State Transfer (REST) is a simple web-based interface that uses XML over HTTP. A REST-based web service interacts with a request based on the URL submitted. But unlike SOAP Web Services, it is not astandard. It is an architectural style for distributed computing like the World WideWeb. The Web Services Wizard of 4D cannot discover nor call with 4D web services commands these services. In this technote, it will be shown how to build a REST clientwhich calls a REST web service and process its response within 4D. A REST client toquery Yahoo Web Search will be constructed to illustrate this.

Download Complete Tech Note and Example: Windows | Mac