Webservices Delete Examples

Deleting Samples (DELETE)

You remove a sample by sending a DELETE method specifying the URI of the sample. With curl you do it like this

curl -X DELETE "http://localhost:8080/proteios/resource/samples/2?username=john&password=cow"

which would set the removed flag on sample with id 2.

Last modified 13 years ago Last modified on Apr 6, 2009, 8:32:34 AM