<?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>Web - API</title><link>https://community.appian.com/discussions/f/integrations/18551/web---api</link><description>Hello, 
 I am trying to create a web-api in order to query data and expose them to applications hosted outside of appian. 
 However whatever I do I get the error : 443 Access Denied (authentication_failed). 
 
 So far I have done the following: 
 1)Create</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Web - API</title><link>https://community.appian.com/thread/73035?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 12:17:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:820bbf07-22b5-4ca5-b595-83c112d45975</guid><dc:creator>Petros</dc:creator><description>&lt;p&gt;Thanks for the suggestion however, it seems that everything I do I get authentication error so most probably there must be a firewall configuration that I am not aware of.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web - API</title><link>https://community.appian.com/thread/73027?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 17:50:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f52df9af-abb2-4beb-b52f-cafd592af162</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I assume that if there was some special firewall, you&amp;#39;d probably know about it as it has to be requested by the owners of the environment as far as I know.&lt;/p&gt;
&lt;p&gt;The exact CURL statement i&amp;#39;ve been using successfully is as follows (with sanitized url and api key, otherwise unchanged):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;curl -k https://myserver.appiancloud.com/suite/webapi/HelloWorld -H &amp;quot;Appian-API-Key:123412341234123412341234&amp;quot;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web - API</title><link>https://community.appian.com/thread/73026?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 17:40:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09f7cd85-9007-4b0a-9cf1-5f72970e63d1</guid><dc:creator>Petros</dc:creator><description>&lt;p&gt;I have tried different combinations:&lt;/p&gt;
&lt;p&gt;1)curl -u ${USERNAME}:${PASSWORD} &lt;a href="https://example.appian.com/suite/webapi/endpoint"&gt;https://example.appian.com/suite/webapi/endpoint&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;where for username and password I used my appian credentials.&lt;/p&gt;
&lt;p&gt;2)&lt;span&gt;curl &lt;a href="https://example.appian.com/suite/webapi/endpoint"&gt;example.appian.com/.../endpoint&lt;/a&gt; -H &amp;quot;Appian-API-Key: ${API_KEY}&amp;quot; where as API_KEY i used the API-Key that was generated when I created the service user.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;No, I can access the environment&amp;nbsp;without using any VPNs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;How can I check if there any special firewall ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web - API</title><link>https://community.appian.com/thread/73025?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 17:08:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f6fc2b14-7c47-4ee9-bc3e-69eb6c245fbd</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Can you post the exact syntax of the CURL command you&amp;#39;ve attempted?&amp;nbsp; Also, is your environment behind any special firewalls or other unique network configurations?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>