<?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>Invoking a Web API when not logged into Appian</title><link>https://community.appian.com/discussions/f/rules/11485/invoking-a-web-api-when-not-logged-into-appian</link><description>How does Appian handle web api requests when the user is not logged in? 
 
 Is there a way to direct the user to the login page when trying to access a web api when they are not logged in? 
 
 Currently with IE it&amp;#39;s prompting: &amp;quot;Do you want to save &amp;lt;web</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Invoking a Web API when not logged into Appian</title><link>https://community.appian.com/thread/50580?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 21:59:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9dbe8447-dd04-4ff5-99f6-ff43595041d7</guid><dc:creator>aloks0189</dc:creator><description>Hi  as per my understanding, WEB-API is meant for exposing Appian Data outside the world. When a 3rd Party System wants to interact with Appian Data/Process then need to make the use of Web-API where they can pass the required parameter/body of API (if any)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
While invoking WEB-API from third party system, they need to use Basic Authentication to avoid HTTP Error 401: Unauthorized, but Web-API is not meant for redirection to login page.&lt;br /&gt;
&lt;br /&gt;
In order to achieve login requirement, you need to build Servlet-Plugin which can redirect you to login page.&lt;br /&gt;
&lt;br /&gt;
Hope this will help you.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>