<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How Can I test this restlet for upload files in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-test-this-restlet-for-upload-files/m-p/318455#M5456</link>
    <description>&lt;P&gt;How Can I test this restlet service,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;documentation&amp;gt;
  Restlet for uploading a file via the Plugin (linked to FileManager)
  (ie create a document from a file)
  POST /nuxeo/restAPI/{repoId}/{docId}/pluginUpload/{path}
  POST /nuxeo/restAPI/{repoId}/{docId}/createFromFile/{path}
&amp;lt;/documentation&amp;gt;
&amp;lt;restletPlugin
    name="pluginUpload"
    class="org.nuxeo.ecm.platform.ui.web.restAPI.PluginUploadRestlet"
    enabled="true"
    useSeam="true"
    useConversation="true"&amp;gt;
  &amp;lt;urlPatterns&amp;gt;
    &amp;lt;urlPattern&amp;gt;/{repo}/{docid}/pluginUpload&amp;lt;/urlPattern&amp;gt;
    &amp;lt;urlPattern&amp;gt;/{repo}/{docid}/createFromFile&amp;lt;/urlPattern&amp;gt;
  &amp;lt;/urlPatterns&amp;gt;
&amp;lt;/restletPlugin&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want to do my own restlet test how to send a pdf file and show it in the browser. Example: I send a pdf file and with my restlet create the headers, mimetype ... equal to previewReslet contributions but  sending a file temp and show it from the restAPI&lt;/P&gt;</description>
    <pubDate>Tue, 30 Oct 2012 22:17:48 GMT</pubDate>
    <dc:creator>geekonspace</dc:creator>
    <dc:date>2012-10-30T22:17:48Z</dc:date>
    <item>
      <title>How Can I test this restlet for upload files</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-test-this-restlet-for-upload-files/m-p/318455#M5456</link>
      <description>&lt;P&gt;How Can I test this restlet service,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;documentation&amp;gt;
  Restlet for uploading a file via the Plugin (linked to FileManager)
  (ie create a document from a file)
  POST /nuxeo/restAPI/{repoId}/{docId}/pluginUpload/{path}
  POST /nuxeo/restAPI/{repoId}/{docId}/createFromFile/{path}
&amp;lt;/documentation&amp;gt;
&amp;lt;restletPlugin
    name="pluginUpload"
    class="org.nuxeo.ecm.platform.ui.web.restAPI.PluginUploadRestlet"
    enabled="true"
    useSeam="true"
    useConversation="true"&amp;gt;
  &amp;lt;urlPatterns&amp;gt;
    &amp;lt;urlPattern&amp;gt;/{repo}/{docid}/pluginUpload&amp;lt;/urlPattern&amp;gt;
    &amp;lt;urlPattern&amp;gt;/{repo}/{docid}/createFromFile&amp;lt;/urlPattern&amp;gt;
  &amp;lt;/urlPatterns&amp;gt;
&amp;lt;/restletPlugin&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want to do my own restlet test how to send a pdf file and show it in the browser. Example: I send a pdf file and with my restlet create the headers, mimetype ... equal to previewReslet contributions but  sending a file temp and show it from the restAPI&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2012 22:17:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-test-this-restlet-for-upload-files/m-p/318455#M5456</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2012-10-30T22:17:48Z</dc:date>
    </item>
  </channel>
</rss>

