Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Get All Products - Use HTTP GET request to get all the products. 
    Resource Path : products 
    Resource Method : GET

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

See About Data Services and Resources for details.

Building the sample

The sample data service ResourcesSample should be deployed using the instructions in Samples Setup.

Running the sample

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

...