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: https://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=34&rev2=35 Comment: - add string interface for language identifier fix formatting Some Example calls with cURL: - === PUT a TXT file with English ```This is English!``` and get back en == + == PUT a TXT file with English This is English! and get back en == {{{ $ curl -X PUT --data-binary @foo.txt http://localhost:9998/language/stream en }}} - == PUT a TXT file with French ```comme çi comme ça```and get back fr == + == PUT a TXT file with French comme çi comme ça and get back fr == {{{ curl -X PUT --data-binary @foo.txt http://localhost:9998/language/stream + fr }}} + + {{{ + /language/string + }}} + HTTP PUTs or POSTs a text string to the LanguageIdentifier to identify its language. + + Default return is a string of the 2 character identified language. + + Some Example calls with cURL: + + == PUT a string with English This is English! and get back en == + {{{ + $ curl -X PUT --data "This is English!" http://localhost:9998/language/string + en + }}} + + == PUT a string with French comme çi comme ça and get back fr == + {{{ + curl -X PUT --data "comme çi comme ça" http://localhost:9998/language/string + fr + }}} + == Recursive Metadata and Content == {{{ /rmeta
