<?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: Call authenticated webscript via URL and get JSON in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295607#M248737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is better to use proper names in referring to authentication mechanisms because you will likely not find anything in the documentation about "token mechanism". &lt;A __default_attr="122335" __jive_macro_name="user" _jive_internal="true" data-id="122335" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/yogeshpj" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt; is referring to Alfresco's authentication ticket feature where you call the /alfresco/s/api/login ReST operation first to authentication using username + password in the JSON POST request which will give you an authentication ticket. This ticket can then be used as a URL parameter called "alf_ticket" in any subsequent web script calls using /alfresco/s/ as the service endpoint to re-use the previously validated login.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 15:29:05 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2016-12-13T15:29:05Z</dc:date>
    <item>
      <title>Call authenticated webscript via URL and get JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295605#M248735</link>
      <description>Hello,what is the best way for calling Alfresco webscript (with autentication) via URL request from external Java application?I need to send authenticated (username and password) request to Alfresco via URL and fetch JSON back to Java application.Is there some code example to check?Thank you.Br, Voj</description>
      <pubDate>Tue, 13 Dec 2016 11:45:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295605#M248735</guid>
      <dc:creator>vojtechm</dc:creator>
      <dc:date>2016-12-13T11:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Call authenticated webscript via URL and get JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295606#M248736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Molin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use token mechanism of alfresco.&lt;/P&gt;&lt;P&gt;First get alfresco token using username and password and then use that token to call webscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yogesh Prajapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 15:09:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295606#M248736</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2016-12-13T15:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Call authenticated webscript via URL and get JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295607#M248737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is better to use proper names in referring to authentication mechanisms because you will likely not find anything in the documentation about "token mechanism". &lt;A __default_attr="122335" __jive_macro_name="user" _jive_internal="true" data-id="122335" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/yogeshpj" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt; is referring to Alfresco's authentication ticket feature where you call the /alfresco/s/api/login ReST operation first to authentication using username + password in the JSON POST request which will give you an authentication ticket. This ticket can then be used as a URL parameter called "alf_ticket" in any subsequent web script calls using /alfresco/s/ as the service endpoint to re-use the previously validated login.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 15:29:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295607#M248737</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-12-13T15:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Call authenticated webscript via URL and get JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295608#M248738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thank you both for explanation!&lt;/P&gt;&lt;P&gt;Br, Vojtech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:25:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-authenticated-webscript-via-url-and-get-json/m-p/295608#M248738</guid>
      <dc:creator>vojtechm</dc:creator>
      <dc:date>2016-12-13T16:25:28Z</dc:date>
    </item>
  </channel>
</rss>

