summaryrefslogtreecommitdiff
path: root/markdown_blocks/rest_examples.md
diff options
context:
space:
mode:
Diffstat (limited to 'markdown_blocks/rest_examples.md')
-rw-r--r--markdown_blocks/rest_examples.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/markdown_blocks/rest_examples.md b/markdown_blocks/rest_examples.md
index 3b3789d..7bd49d6 100644
--- a/markdown_blocks/rest_examples.md
+++ b/markdown_blocks/rest_examples.md
@@ -1,14 +1,14 @@
-get an URI list for all models:
+Get an URI list for all models:
```Bash
curl -X GET --header 'Accept: text/uri-list' -H 'accept:text/uri-list' 'https://enm.in-silico.ch/model'
```
-retrieve an JSON representation of a model:
-```Bash
+Retrieve an JSON representation of a model:
+```bash
curl -X GET -H 'Accept: application/json' -H 'accept: application/json' 'https://enm.in-silico.ch/model/<MODELID>'
```
-predict a nano-particle:
+Predict a nano-particle:
```Bash
- curl -X POST -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept:text/html' -d 'identifier= \ https://enm.in-silico.ch/nanoparticle/<NANOPARTICLEID>' 'https://enm.in-silico.ch/model/<MODELID>'
+ curl -X POST -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept:text/html' -d 'identifier= https://enm.in-silico.ch/nanoparticle/<NANOPARTICLEID>' 'https://enm.in-silico.ch/model/<MODELID>'
``` \ No newline at end of file