<?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 make external HTTP requests? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-make-external-http-requests/m-p/9932#M4418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a server running on localhost:3000 and Docker's containers with Alfresco on localhost:8080. In the workflow Activiti process --&amp;gt; ServiceTask -&amp;gt; Java class I am trying to get HTTP request from my server. How can i accomplish that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to do so, it throws an error.&lt;/P&gt;&lt;P&gt;It might be something about Docker because when I am trying to call "curl localhost:3000" or "curl 0.0.0.0:3000" etc. from container, it also can not connect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jul 2019 20:14:19 GMT</pubDate>
    <dc:creator>upforsin</dc:creator>
    <dc:date>2019-07-27T20:14:19Z</dc:date>
    <item>
      <title>How to make external HTTP requests?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-make-external-http-requests/m-p/9932#M4418</link>
      <description>Hello,I have a server running on localhost:3000 and Docker's containers with Alfresco on localhost:8080. In the workflow Activiti process --&amp;gt; ServiceTask -&amp;gt; Java class I am trying to get HTTP request from my server. How can i accomplish that?When I am trying to do so, it throws an error.It mig</description>
      <pubDate>Sat, 27 Jul 2019 20:14:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-make-external-http-requests/m-p/9932#M4418</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2019-07-27T20:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to make external HTTP requests?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-make-external-http-requests/m-p/9933#M4419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems it is totally not connected with Alfresco so it can be deleted.&lt;/P&gt;&lt;P&gt;If anyone had the same issue: (ex. trying to setup &lt;A href="https://github.com/typicode/json-server" rel="nofollow noopener noreferrer"&gt;json-server&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I changed my json-server host from localhost to my ip (ex. 172.12.0.1 or 0.0.0.0 should also work) and it is working &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If anyone is on Windows/Mac, you can try also host.docker.internal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2019 21:38:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-make-external-http-requests/m-p/9933#M4419</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2019-07-27T21:38:26Z</dc:date>
    </item>
  </channel>
</rss>

