<?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 Re: REST in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64591#M40765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;please search the forum. Passing credentials in rest is done in another way…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2011 16:39:19 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-10-20T16:39:19Z</dc:date>
    <item>
      <title>REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64590#M40764</link>
      <description>I'm new to Activiti and after playing around a bit I'm trying to call the REST-services from a GWT-built web application. I can call the login service (http://localhost:8080/activiti-rest/service/) and get the response&amp;nbsp; {"success":true}After that call i build a new RequestBuilder and set the propert</description>
      <pubDate>Thu, 20 Oct 2011 14:00:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64590#M40764</guid>
      <dc:creator>krigu</dc:creator>
      <dc:date>2011-10-20T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64591#M40765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;please search the forum. Passing credentials in rest is done in another way…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 16:39:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64591#M40765</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-10-20T16:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64592#M40766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to use Http Basic Authentication with each Request you drop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Basic_access_authentication" rel="nofollow noopener noreferrer"&gt;http://en.wikipedia.org/wiki/Basic_access_authentication&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 07:30:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64592#M40766</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-21T07:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64593#M40767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the responses. I was able to solve the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 07:34:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64593#M40767</guid>
      <dc:creator>krigu</dc:creator>
      <dc:date>2011-10-21T07:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64594#M40768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;and exactly how did you solve the problem (so others can find it easily as well)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 12:50:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64594#M40768</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-10-21T12:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64595#M40769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the late replay, I enjoyed a few days off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To use the REST-API you have to modify the request header and add "Authorization" (Key) and "Basic username&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assword" (Value). The username and the password need to be encoded with the Base64 algorithm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a small GWT code snipped:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, hostname + RequestURI);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; builder.setHeader("Authorization", "Basic "&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + Base64.encode(username.getValueAsString()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + ":" + password.getValueAsString()));&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 16:10:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest/m-p/64595#M40769</guid>
      <dc:creator>krigu</dc:creator>
      <dc:date>2011-11-07T16:10:38Z</dc:date>
    </item>
  </channel>
</rss>

