Skip to content

Commit

Permalink
Merge pull request #8 from miyamotodan/master
Browse files Browse the repository at this point in the history
fixed documentation
  • Loading branch information
miyamotodan authored Oct 4, 2017
2 parents 161a982 + c3fc483 commit 474ed6c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions semantic_validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,21 @@ The validator is currently based on a set of queries (about 150 for DCAT-AP_IT)

there are two endpoints:

- /validate : in order to validate a document
- /validators : in oder to ghe the list of available validators
- /validator/validate : in order to validate a document

```bash
curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' \
-F name=catalog.rdf \
-F validator=1 \
-F rdfsinf=true \
'https://localhost:9000/validator/validate'
```

- /validator/validators : in oder to ghe the list of available validators

```bash
curl -X GET --header 'Accept: application/json' 'https://localhost:9000/validator/validators'
```

## instructions

Expand Down

0 comments on commit 474ed6c

Please sign in to comment.