<?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>Test Web API created in Appian with Integration</title><link>https://community.appian.com/discussions/f/integrations/29214/test-web-api-created-in-appian-with-integration</link><description>Hi everyone, 
 
 I created a Web API with the get method. To test it I want to use an integration (created in another appian enviroment) but I have some issue. 
 I can access to the API with Api key as authentication method but I have this error: 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Test Web API created in Appian with Integration</title><link>https://community.appian.com/thread/115577?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 12:00:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36a6db26-e089-40c2-b0d4-e0064681ce62</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;It&amp;#39;s a get request so you just need to call it with the API key in the header. You could also just try a curl request as described here:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/23.2/Web_API_Authentication.html"&gt;https://docs.appian.com/suite/help/23.2/Web_API_Authentication.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;curl https://example.appian.com/suite/webapi/endpoint -H &amp;quot;Appian-API-Key: ${API_KEY}&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Otherwise, maybe you can post screenshots of both your Web API and Integration/Connected System - might be easier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test Web API created in Appian with Integration</title><link>https://community.appian.com/thread/115564?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 10:52:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:316734bc-0de4-4ab3-a8bb-6ba4f6784361</guid><dc:creator>danieleg17</dc:creator><description>&lt;p&gt;Sorry but I&amp;#39;m having trouble with postman.&lt;br /&gt;I don&amp;#39;t know if the problem is my API or my configuration, do you know a tutorial that I can Follow?&lt;br /&gt;What is it an example of request that I have to send to my get API?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Daniele&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test Web API created in Appian with Integration</title><link>https://community.appian.com/thread/115552?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 10:03:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:16e97060-1522-48f6-8e15-35e58ff9985e</guid><dc:creator>danieleg17</dc:creator><description>&lt;p&gt;Thank you a lot, I&amp;#39;ll test it as soon as possible&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test Web API created in Appian with Integration</title><link>https://community.appian.com/thread/115551?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 10:02:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:02a7ac7d-f7ce-4ba8-afda-5b672070143b</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;A lots of developer sue Postman as a tool for testing Web Services:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.postman.com/downloads/"&gt;https://www.postman.com/downloads/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a useful tool to test independently of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test Web API created in Appian with Integration</title><link>https://community.appian.com/thread/115549?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 09:54:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4696fe26-45bd-4a3e-b851-6038a20ec8ca</guid><dc:creator>danieleg17</dc:creator><description>&lt;p&gt;1. locally it works, I use the test button, so yes for the second question too.&lt;/p&gt;
&lt;p&gt;2. I can&amp;#39;t test it that way right now, if you know some tool to test it will be very helpful.&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;m passing the api key generated, I had some problem with authentication but now it works and return this error.&lt;/p&gt;
&lt;p&gt;It seems like that the integrations sends a request that isn&amp;#39;t compatible with the Web API&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test Web API created in Appian with Integration</title><link>https://community.appian.com/thread/115548?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 09:48:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc6f728f-0d2f-4036-a957-07933b77bea7</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Hi Daniele&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;does your WebAPI work locally? That is, does it successfully complete using the built in test harness in the WebAPI designer?&lt;/li&gt;
&lt;li&gt;does your WebAPI work when called from a tool such as SOAP UI or PostMan?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You should be able to call your WebAPI from an Integration in another Appian environment. I assume you&amp;#39;re passing the API key value you generated for the associated Service Account?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>