source: gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/DELETE-OPENANNOTATION-LIST.sh@ 37079

Last change on this file since 37079 was 37079, checked in by davidb, 16 months ago

Some scripts to help build out submitting OpenAnnotation List JSON files to the SimpleAnnotationServer/Store servlet

  • Property svn:executable set to *
File size: 414 bytes
Line 
1#!/bin/bash
2
3iuri_id=$1
4
5internal_url_base="http://localhost:4343/simpleAnnotationStore/annotation"
6post_url="${internal_url_base}/destroy"
7
8echo ""
9#echo curl -X DELETE -d "uri=${iuri_id}" "$post_url"
10#curl -X DELETE -d "uri=${iuri_id}" "$post_url"
11
12#curl -X DELETE -d "uri=${iuri_id}" "$post_url?uri=${iuri_id}"
13
14echo curl -X DELETE "$post_url?uri=${iuri_id}"
15curl -X DELETE "$post_url?uri=${iuri_id}"
16
17
18echo ""
Note: See TracBrowser for help on using the repository browser.