Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents
maxLevel3
minLevel3

Introduction

This sample demonstrates how data can be exposed as REST resources through a data service and also how the service can be invoked in REST style.

Building the sample

The sample data service ResourcesSample should be deployed using the instructions in Deploying Data Services section.

...

    • Delete Product - Use HTTP DELETE request to delete a given product from the database.
      Resource Path : product/{productCode}
      Resource Method : DELETE

Running the sample

The service can be invoked in REST-style via curl (http://curl.haxx.se). The following commands can be executed in command line to invoke each of the resources.

...