Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tika Wiki" for change 
notification.

The "TikaJAXRS" page has been changed by ChrisMattmann:
http://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=4&rev2=5

Comment:
- reorg plus more docs

- = Introduction = 
+ = Introduction =
+ 
  This page is documentation on tika's JSR 311 network server, tika-server. The 
server package uses the [[http://cxf.apache.org/|Apache CXF]] framework that 
provides an implementation of JAX-RS for Java. The Tika server component builds 
to a standalone package in Tika, tika-server. Releases of Tika version 1.2 and 
beyond will ship with tika-server enabled, but to get the software before then 
and to experiment you can follow the below steps:
  
  # svn export http://svn.apache.org/repos/tika/trunk/tika-server
@@ -25, +26 @@

  Which lets you know that it started correctly. Below is some basic 
documentation on how to 
  interact with the services using cURL and HTTP.
  
- = Services = 
+ = Services =
+ 
+ == Metadata Resource ==
  
  {{{
  /meta
  }}}
  HTTP PUTs a document to the /meta service and you get back "text/csv" of the 
metadata.
+ 
+ Some Example calls with cURL:
+ 
+ {{{
+ curl -X PUT -d @zipcode.csv http://localhost:9998/meta --header 
"Content-Type: text/csv"
+ }}}
+ 
+ Returns:
+ 
+ {{{
+ "Content-Encoding","ISO-8859-2"
+ "Content-Type","text/plain"
+ }}}
+ 
+ == Tika Resource ==
  
  {{{
  /tika
@@ -39, +57 @@

  
  Some Example calls with cURL:
  
- == Get HELLO message back ==
+ === Get HELLO message back ===
  
  {{{
  $ curl -X GET http://localhost:9998/tika
  This is Tika Server. Please PUT 
  }}}
  
+ === Get the Text of a Document ===
  
+ {{{
+ $ curl -X PUT -d @GeoSPARQL.pdf http://localhost:9998/tika --header 
"Content-type: application/pdf"
+ }}}
+ 
+ == Unpacker Resource ==
  
  {{{
  /unpacker

Reply via email to