<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Internal web API Call</title><link>https://community.appian.com/discussions/f/integrations/30098/internal-web-api-call</link><description>Hi, 
 When I call a web API from another web API within the same server, the external url parameter value of the final web API iin the httppost request doesn&amp;#39;t seem to work but I have to give the localhost url - like this :localhost:8080/.../webapiname</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/154440?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2026 10:30:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:181b820e-e082-4a01-b93b-3f31c2aaa8ce</guid><dc:creator>almuqeets268991</dc:creator><description>&lt;p data-start="81" data-end="287"&gt;This usually happens because external URLs route through DNS, public IP, and network security layers. In many setups, an &lt;a href="https://almuqeet.net/products/sms-firewall"&gt;SMS&amp;nbsp;&lt;/a&gt;&lt;strong data-start="202" data-end="238"&gt;&lt;span style="margin:0px;padding:0px;"&gt;&lt;a href="https://almuqeet.net/products/sms-firewall" rel="noopener noreferrer" target="_blank"&gt;firewall&amp;nbsp;&lt;/a&gt;&lt;strong&gt;or&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;network firewall&lt;/strong&gt; can block or restrict these loopback requests.&lt;/p&gt;
&lt;p data-start="289" data-end="370"&gt;&lt;code data-start="289" data-end="300"&gt;localhost&lt;/code&gt; works because it bypasses those layers and stays inside the server.&lt;/p&gt;
&lt;p data-start="372" data-end="546" data-is-last-node="" data-is-only-node=""&gt;But this isn&amp;rsquo;t reliable for all environments, especially in cloud or microservices setups.&lt;br data-start="461" data-end="464" /&gt; &lt;strong data-start="464" data-end="482"&gt;Best practice:&lt;/strong&gt; Avoid internal HTTP calls and use direct service communication.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119682?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 18:02:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1052e01e-ee80-4fd9-a95b-e18342357118</guid><dc:creator>simik</dc:creator><description>&lt;p&gt;&lt;a href="/members/mathieud0001"&gt;Mathieu Drouin&lt;/a&gt;, thanks for the response. I will check with network team on this and see.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119681?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 17:57:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:45525eda-99fe-48a5-a8c8-b0ab754e0b80</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;If the FQDN doesn&amp;#39;t work, that means the machine can&amp;#39;t resolve that domain. As I&amp;nbsp;mentioned&amp;nbsp;before, there are 2 possibilites:&lt;/p&gt;
&lt;p&gt;1. There is an issue with DNS resolution on the host machine.&lt;/p&gt;
&lt;p&gt;2. There is a firewall preventing communication to the outside.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119678?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 17:37:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7bcc7209-7edc-406b-8323-75bed2aeccab</guid><dc:creator>simik</dc:creator><description>&lt;p&gt;Yes FQDN did not work from within Appian. I tried creating an integration to call the webAPI. It does not work with the https url on the web API but works if I give like this :&amp;nbsp;&lt;span&gt;localhost:8080/.../ij1BEQ&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Does not work from integration or another web API:&amp;nbsp;&lt;a class="LinkedItem---richtext_link elements---global_a" href="https://sum-gpd-lnp.test.fyiblue.com/suite/webapi/7Lu60g"&gt;https://smm-gd-uat.test.fy.com/suite/webapi/&lt;span&gt;ij1BE&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Works from soapUI:&amp;nbsp;&lt;a class="LinkedItem---richtext_link elements---global_a" href="https://sum-gpd-lnp.test.fyiblue.com/suite/webapi/7Lu60g"&gt;https://smm-gd-uat.test.fy.com/suite/webapi/ij1BE&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119672?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 16:46:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42ae47ae-760d-4cf8-8f79-6e150897ba9b</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;I would assume something like DNS like Stefan mentioned or perhaps a firewall issue?&lt;/p&gt;
&lt;p&gt;You tried using an FQDN and that didn&amp;#39;t work, correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119665?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 14:26:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4b2df869-7e5f-4197-947f-b45b10ba1a31</guid><dc:creator>simik</dc:creator><description>&lt;p&gt;I get timeout error :[responseCode=500, responseBody=The host did not accept the connection within timeout of 5000 ms]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119635?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 06:53:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2b337df-5447-4eba-bbc3-7c027a2ac65b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This looks like an issue with local DNS resolution. I suggest to contact your sys admins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119630?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 03:35:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6cfa267-7a4a-4563-b621-2e9d317b6c83</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;What error do you get when you use a direct url?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119628?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2023 22:52:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:429d3279-0e2a-49b7-a322-7c32a01ecaa2</guid><dc:creator>simik</dc:creator><description>&lt;p&gt;Yes, that&amp;#39;s right, this is for on-premise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal web API Call</title><link>https://community.appian.com/thread/119627?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2023 22:05:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d4ebfd51-3e7b-435b-b978-dd4f6f5bf6fe</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;I&amp;#39;m assuming this is for an on-premise installation? In the cloud, you can call an Appian API from within Appian with no issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>