Author: ogrisel
Date: Wed Apr 6 13:56:58 2011
New Revision: 1089458
URL: http://svn.apache.org/viewvc?rev=1089458&view=rev
Log:
Better curl examples for the engines (+ removed the trailing slash)
Modified:
incubator/stanbol/trunk/enhancer/jersey/src/main/resources/org/apache/stanbol/enhancer/jersey/templates/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource/index.ftl
Modified:
incubator/stanbol/trunk/enhancer/jersey/src/main/resources/org/apache/stanbol/enhancer/jersey/templates/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource/index.ftl
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/jersey/src/main/resources/org/apache/stanbol/enhancer/jersey/templates/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource/index.ftl?rev=1089458&r1=1089457&r2=1089458&view=diff
==============================================================================
---
incubator/stanbol/trunk/enhancer/jersey/src/main/resources/org/apache/stanbol/enhancer/jersey/templates/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource/index.ftl
(original)
+++
incubator/stanbol/trunk/enhancer/jersey/src/main/resources/org/apache/stanbol/enhancer/jersey/templates/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource/index.ftl
Wed Apr 6 13:56:58 2011
@@ -99,8 +99,7 @@ in the format specified in the <code>Acc
<pre>
curl -X POST -H "Accept: text/turtle" -H "Content-type: text/plain" \
- --data "The Stanbol enhancer can detect famous cities such as Paris." \
- ${it.publicBaseUri}engines/
+ --data "John Smith was born in London." ${it.publicBaseUri}engines
</pre>
<p>The list of mimetypes accepted as inputs depends on the deployed engines.
By default only
@@ -123,8 +122,8 @@ to be used in the enhancements RDF graph
<pre>
curl -X POST -H "Accept: text/turtle" -H "Content-type: text/plain" \
- --data "The Stanbol enhancer can detect famous cities such as Paris." \
- "${it.publicBaseUri}engines/?uri=urn:fise-example-content-item"
+ --data "John Smith was born in London." \
+ "${it.publicBaseUri}engines?uri=urn:fise-example-content-item"
</pre>
</div>