Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | iuri_id=$1
|
---|
4 |
|
---|
5 | internal_url_base="http://localhost:4343/simpleAnnotationStore/annotation"
|
---|
6 | post_url="${internal_url_base}/destroy"
|
---|
7 |
|
---|
8 | echo ""
|
---|
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 |
|
---|
14 | echo curl -X DELETE "$post_url?uri=${iuri_id}"
|
---|
15 | curl -X DELETE "$post_url?uri=${iuri_id}"
|
---|
16 |
|
---|
17 |
|
---|
18 | echo ""
|
---|
Note:
See
TracBrowser
for help on using the repository browser.