You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by Apache Wiki <wi...@apache.org> on 2016/06/24 10:31:17 UTC
[Tika Wiki] Update of "TikaJAXRS" by sergey_beryozkin
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 sergey_beryozkin:
https://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=41&rev2=42
$ curl -T test_recursive_embedded.docx http://localhost:9998/meta/Content-Type --header "Accept: application/rdf+xml"
}}}
'''Note: when requesting specific metadata keys value(s) in XMP, make sure to request the XMP name, e.g. "dc:creator" vs. "Author" '''
+
+ === Multipart Support ===
+
+ Metadata Resource also accepts the files as multipart/form-data attachments with POST.
+ Posting files as multipart attachments may be beneficial in cases when the files are too big for them to be PUT directly in the request body.
+ Note that Tika JAX-RS server makes the best effort at storing some of the multipart content to the disk while still supporting the streaming:
+
+ {{{
+ curl -F upload=@price.xls URL http://localhost:9998/meta/form
+ }}}
+
+ Note that the address has an extra "/form" path segment.
+
== Tika Resource ==
{{{