<?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>Call Web API using Basic Authentication</title><link>https://community.appian.com/discussions/f/integrations/11250/call-web-api-using-basic-authentication</link><description>Hi All, 
 I have a Web API created in Appian, which starts a process and return a different result in case of success or error. Does anyone know to call this web API from web application using basic authentication?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/60869?ContentTypeID=1</link><pubDate>Fri, 28 Sep 2018 10:04:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:132c7b17-b304-48c8-8ab8-8b4a84e50f87</guid><dc:creator>Shanmukha</dc:creator><description>Hi Lakshmi,&lt;br /&gt;
&lt;br /&gt;
I am just adding it to other comments. You can use basic authentication from any other application for calling Appian WEB API. But keep in mind that the process will only trigger based on the username that your passing in the basic authentication. It is okay when you want to trigger that process model always with the same user credentials. If you want to trigger a process model based on the user in third party application then it is better to use other alternative authentication mechanisms like SAML, LDAP and Others. In this case you trigger the process model based on the user is logged in your third part application. &lt;br /&gt;
&lt;br /&gt;
You can decide the approach based on these. &lt;br /&gt;
&lt;br /&gt;
Hope this may help.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/60859?ContentTypeID=1</link><pubDate>Fri, 28 Sep 2018 07:04:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f986fb1-fe8f-4b29-b258-027b06d4b410</guid><dc:creator>vishnuv</dc:creator><description>Hi,&lt;br /&gt;
From the Admin Console, have you configured the authentication on Appian ? This is an easy way to create a SAML Authentication as it provide you a basic authentication.&lt;br /&gt;
On the HTTP Query, pass the basic authentication using a!httpAuthenticationBasic&lt;br /&gt;
For reference you may check this post -- &amp;gt; &lt;a href="https://community.appian.com/discussions/f/user-interface/8422/appian-with-angular-js"&gt;community.appian.com/.../appian-with-angular-js&lt;/a&gt; &amp;amp; docs.appian.com/.../SAML_for_Single_Sign-On.html&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/60856?ContentTypeID=1</link><pubDate>Fri, 28 Sep 2018 06:33:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:00edfcd9-38c1-430a-9aad-9bf2937e89a6</guid><dc:creator>cyril bois</dc:creator><description>Hello,&lt;br /&gt;
the url &lt;a href="https://www.hurl.it/"&gt;https://www.hurl.it/&lt;/a&gt; does not work anymore :( now it must be &lt;a href="https://insomnia.rest/"&gt;https://insomnia.rest/&lt;/a&gt;&lt;br /&gt;
Otherwise there is also the online tool &lt;a href="https://extendsclass.com/rest-client-online.html"&gt;extendsclass.com/rest-client-online.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/49512?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 14:18:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3b17e25-ac55-494f-8198-cb71800d701b</guid><dc:creator>vijayd</dc:creator><description>You can use SOAP UI. Create a REST Project and provide the Web API Url, configure authorization, headers and Web API security of that user.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/49506?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 10:15:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7226dae9-422b-43ef-a651-da90184f7663</guid><dc:creator>swapnac</dc:creator><description>Hello,&lt;br /&gt;
&lt;br /&gt;
You can test on  &lt;a href="https://www.hurl.it/"&gt;https://www.hurl.it/&lt;/a&gt; (I usually do)  along with you can invoke through SOAP UI or POSTMAN as suggested.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/49473?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 12:45:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db991b75-4aa0-4103-92fa-21157aa15985</guid><dc:creator>PhilB</dc:creator><description>Postman is another popular client with which to test: &lt;a href="https://www.getpostman.com/"&gt;https://www.getpostman.com/&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/49450?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 15:48:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4347026b-dd84-4b7b-b265-9f46c38f8d17</guid><dc:creator>Arun Theja Muthyalu</dc:creator><description>Hi athilakshmim,&lt;br /&gt;
&lt;br /&gt;
It really depends upon &amp;quot;on what&amp;quot; your Web Application is built on. If that was built on Java, the below link should get you started.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://www.java2novice.com/restful-web-services/http-basic-authentication/"&gt;www.java2novice.com/.../&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
(Just found it on a Google search which looks good to me but never executed it personally.)&lt;br /&gt;
&lt;br /&gt;
Thank you,&lt;br /&gt;
Arun&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/49448?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 13:57:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c082467f-8fe3-495e-8640-b9dd6ae92795</guid><dc:creator>kiranj</dc:creator><description>use Advanced Rest Client to call your provider by passing basic authentication  (or) develop rest consumer  code to make  a call to Provider &lt;a href="http://www.mkyong.com/webservices/jax-rs/restful-java-client-with-jersey-client/"&gt;www.mkyong.com/.../&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call Web API using Basic Authentication</title><link>https://community.appian.com/thread/49446?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 13:02:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:71034fb8-b061-42ea-974f-491295bcfd0b</guid><dc:creator>Puspendu Pal</dc:creator><description>Hello, You should be able to use a client tool which is able to invoke a URL, even the browser.  SoapUI  is a good tool to use for testing. &lt;br /&gt;
&lt;br /&gt;
More information at: &lt;a href="https://docs.appian.com/suite/help/17.3/Web_APIs.html#overview"&gt;docs.appian.com/.../Web_APIs.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>