Skip to content

Commit

Permalink
Fixing the last example
Browse files Browse the repository at this point in the history
Fixing the last example so that work as intended.
  • Loading branch information
alterakey committed May 26, 2015
1 parent d414c0c commit d488f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/server.rst
Expand Up @@ -401,7 +401,7 @@ Response (json2 format):
.. code-block:: bash
curl -s -H "Content-Type: application/json" \
--data '{document:"fisch and chipps",format:"plain",config:{Spelling:{},SentenceLength:{properties:{max_len:6}}}}' \
--data '{document:"fisch and chipps",format:"plain",config:{validators:{Spelling:{},SentenceLength:{properties:{max_len:6}}}}}' \
http://localhost:8080/rest/document/validate/json
1: ValidationError[Spelling], Found possibly misspelled word "fisch". at line: fisch and chipps
1: ValidationError[Spelling], Found possibly misspelled word "chipps". at line: fisch and chipps
Expand Down

0 comments on commit d488f18

Please sign in to comment.