<?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 to send a REST call from Alfresco to another web application? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-send-a-rest-call-from-alfresco-to-another-web-application/m-p/64607#M21968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;I`m trying to communicate with another web application using Alfresco.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;I need to take some properties from Alfresco node and send them like a HTTP request to a service named "Binotel"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;Can some one help me to create in Alfresco something like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;&lt;A href="https://api.binotel.com/api/2.0/customers/create.json" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.binotel.com/api/2.0/customers/create.json&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;- содержимое: {"name":John, "numbers":0672361256", "description":Customer, "email":&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline ! important;"&gt;john@_____.com&lt;/SPAN&gt;, "assignedToEmployeeNumber":901, signature":"51188e42ba9ee47699699","key":"6pf4-7o"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;How I have a JS which collect data from a node properties&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; color: #000000; white-space: normal; font-weight: normal; letter-spacing: normal; display: inline ! important; font-size: 16px; text-decoration-style: initial; font-style: normal; float: none; background-color: #ffffff; text-transform: none; word-spacing: 0px; text-indent: 0px; font-family: arial,helvetica,sans-serif; text-decoration-color: initial; font-variant-ligatures: normal; text-align: start;"&gt;&lt;SPAN style="color: #008000;"&gt;var name&amp;nbsp;= document.properties["&lt;SPAN style="color: #008000; font-family: arial,helvetica,sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline ! important; float: none;"&gt;zkz:Zayavitel&lt;/SPAN&gt;"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;var number = document.properties["zkz:Telefone"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;var&amp;nbsp;description = document.properties["zkz:Rezult"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;var&amp;nbsp;emplnum = document.properties["zkz:Managernum"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;var email = document.properties["zkz:Email"];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; color: #008000; white-space: normal; font-weight: normal; letter-spacing: normal; display: inline ! important; font-size: 16px; text-decoration-style: initial; font-style: normal; float: none; background-color: #ffffff; text-transform: none; word-spacing: 0px; text-indent: 0px; font-family: arial,helvetica,sans-serif; text-decoration-color: initial; font-variant-ligatures: normal; text-align: start;"&gt;But I do not know how to put them into a http request and send to Binotel service.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Feb 2018 09:39:12 GMT</pubDate>
    <dc:creator>h_john</dc:creator>
    <dc:date>2018-02-11T09:39:12Z</dc:date>
    <item>
      <title>How to send a REST call from Alfresco to another web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-send-a-rest-call-from-alfresco-to-another-web-application/m-p/64607#M21968</link>
      <description>I`m trying to communicate with another web application using Alfresco.I need to take some properties from Alfresco node and send them like a HTTP request to a service named "Binotel"Can some one help me to create in Alfresco something like this:https://api.binotel.com/api/2.0/customers/create.json-</description>
      <pubDate>Sun, 11 Feb 2018 09:39:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-send-a-rest-call-from-alfresco-to-another-web-application/m-p/64607#M21968</guid>
      <dc:creator>h_john</dc:creator>
      <dc:date>2018-02-11T09:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to send a REST call from Alfresco to another web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-send-a-rest-call-from-alfresco-to-another-web-application/m-p/64608#M21969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Repository-side JavaScript has - by default - no capabilities to send any HTTP requests. You would have to either write some Java-backed Script API objects to provide this capability yourself or try to use the Java-interoperability features of the JavaScript engine to use Java HTTP capabilities directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 08:56:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-send-a-rest-call-from-alfresco-to-another-web-application/m-p/64608#M21969</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-02-12T08:56:56Z</dc:date>
    </item>
  </channel>
</rss>

