<?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 POST API from GET API</title><link>https://community.appian.com/discussions/f/general/38557/call-post-api-from-get-api</link><description>Hi All, 
 I have two APIs right now. POST webAPI and GET Webapi. 
 --POST API is taking two query params as input, doing a start process and returning some url in its body. 
 --In GET Api i want to fetch that url from POST APIs body. How can I pass the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145965?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 11:55:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:185f44ca-a93c-4a79-950f-a50161ee9508</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;So, while not recommended, you can do the following:&lt;/p&gt;
&lt;p&gt;External System -&amp;gt; GET -&amp;gt; Appian Web API -&amp;gt; Appian Integration (*) -&amp;gt; POST -&amp;gt; Appian Web API&lt;/p&gt;
&lt;p&gt;* Why not recommended? When you configure a POST integration you set the &amp;quot;Usage&amp;quot; parameter. When set to &amp;quot;Queries Data&amp;quot;, you can call that integration from any Appian interface or Smart Service. When set to &amp;quot;Modifies Data&amp;quot;, you can use it only inside a saveInto, a Smart Service, or inside a POST Web API. So you have to falsely configure it to &amp;quot;Queries Data&amp;quot; even if it starts a process that updates data in the system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145963?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 11:45:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4c9d25d-fd79-452b-a2f5-c491a66bf304</guid><dc:creator>Sadia_Rashid</dc:creator><description>&lt;p&gt;But the issue is even if i create integration for it, how we will use this integration outside appian? the use case here is that I want to trigger a process model that resides in appian from outside appian and as a result I want the response. Through Integration Its not achievable as its an appian object I cannot use it outside appian. but using the GET webapi and this httppost() function I am able to achieve this. what other option do I have apart from this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145713?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 14:42:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:301e4b49-51c8-4621-a063-26a997604dfd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I know that, but this is not a standard function in Appian and not a good way to do it.&lt;/p&gt;
&lt;p&gt;Use integrations for such operations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145709?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 13:44:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff9c5d2c-cbb0-4151-b3c1-ca97bd0ac9bd</guid><dc:creator>Sadia_Rashid</dc:creator><description>&lt;p&gt;Its a WebService Expresion : httppost&lt;/p&gt;
&lt;p&gt;and I am able to achieve what I required. I passed multiple parameters to my post request like this:&lt;/p&gt;
&lt;p&gt;local!postRequest: httppost(&lt;br /&gt; endpoint: concat(&lt;br /&gt; cons!SITE_URL,&lt;br /&gt; cons!ENDPOINT&lt;br /&gt; )&lt;br /&gt; &amp;amp; &amp;quot;KeyInstn=&amp;quot; &amp;amp; local!KeyInstn&lt;br /&gt; &amp;amp; &amp;quot;&amp;amp;FormId=&amp;quot; &amp;amp; local!FormId&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145708?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 13:37:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:851360db-19a7-4527-9081-5455e2d93655</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I did not find this plugin. Is this a recent one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145706?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 13:21:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:004b78a7-6ed5-4e01-8b9d-3ad0f98e16c5</guid><dc:creator>Sadia_Rashid</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;nbsp;It is one of the functions available under Web and XML Extensions shared component - httppost&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145705?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 13:07:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a56df244-e764-48b9-8df7-5eeb00b1cff4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is this from the plugin &amp;quot;Send HTTP Request&amp;quot;? If yes, please delete it. It is deprecated and not been updated in the last 6 years.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145703?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 12:58:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3380281f-3ec5-412e-ab27-ca626da47007</guid><dc:creator>Sadia_Rashid</dc:creator><description>&lt;p&gt;I have done it through httppost request. like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;local!postRequest: httppost(&lt;br /&gt; endpoint: concat(&lt;br /&gt; cons!SITE_URL,&lt;br /&gt; cons!ENDPOINT&lt;br /&gt; ) &amp;amp; &amp;quot;Key=&amp;quot; &amp;amp; local!Key&lt;br /&gt; headerNames: {cons!API_AUTHORIZATION_KEY},&lt;br /&gt; headerValues:{cons!API_AUTHORIZATION_KEY_HEADER_VALUE}&lt;br /&gt; &lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;and its working fine. Can you now tell how can I pass two query params here? Its working fine with only one param here but if I pass a second param aslo, it throws an error. I want to do something like this:&lt;/p&gt;
&lt;p&gt;endpoint: concat(&lt;br /&gt; cons!SITE_URL,&lt;br /&gt; cons!ENDPOINT&lt;br /&gt; ) &amp;amp; &amp;quot;Key=&amp;quot; &amp;amp; local!Key&lt;br /&gt; &amp;amp; &amp;quot;FormId=&amp;quot; &amp;amp; local!FormId,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145702?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 12:53:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f01aaed-1c4f-48fa-8c16-8595e8db0b50</guid><dc:creator>Sadia_Rashid</dc:creator><description>&lt;p&gt;I have done it through httppost request. like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;local!postRequest: httppost(&lt;br /&gt; endpoint: concat(&lt;br /&gt; cons!SITE_URL,&lt;br /&gt; cons!ENDPOINT&lt;br /&gt; ) &amp;amp; &amp;quot;Key=&amp;quot; &amp;amp; ri!Key&lt;br /&gt; headerNames: {cons!API_AUTHORIZATION_KEY},&lt;br /&gt; headerValues:{cons!API_AUTHORIZATION_KEY_HEADER_VALUE}&lt;br /&gt; &lt;br /&gt; ),&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145485?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:50:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cb8999f6-f521-433f-adc9-432d4b2ca2f7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This is me, guessing: You want to put a button on an Appian interface to start a process and display the interface from that process to the user?&lt;/p&gt;
&lt;p&gt;If this is the case, do you have any specific reason to not use a record action field or a start process link?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145483?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:36:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:448d0608-c5f6-4aca-a3ff-916df1afd590</guid><dc:creator>Sadia_Rashid</dc:creator><description>&lt;p&gt;yes that is exactly what I am trying to do. I have created a POST api to start a process and I am getting the url to form in its response.&lt;/p&gt;
&lt;p&gt;Now I want to utilize response of this POST API &amp;quot;the url to form&amp;quot;, in my another GET API to make it user friendly, and that&amp;#39;s my question how can I use the response of POST API in&amp;nbsp; my GET API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145482?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:31:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2cb849b-15d4-41eb-94e5-0e34abf51355</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Starting a process cannot be done using a GET. You will need some kind of client side logic or code that first makes a POST to Appian, and then somehow navigates the user to the returned URL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145481?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:21:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84e8520d-9ea8-4811-b94c-0102c89604fe</guid><dc:creator>Sadia_Rashid</dc:creator><description>&lt;p&gt;Actually I&amp;nbsp;am trying to execute a startprocess from outside appian for which I want to give just a url to client so that when they hit the url the startprocess should occur and a resulting user input task form inside that process model should get displayed to them.&lt;/p&gt;
&lt;p&gt;To trigger the process model I have written a POST Webapi but to create a URL I need to have getAPI thats why I am trying to integrate these two to generate a url for client.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call POST API from GET API</title><link>https://community.appian.com/thread/145479?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:17:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0cd469f4-b697-47ff-9b69-a6bc9f9f0977</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am not sure I fully understand what you are trying to achieve, but find some examples in the documentation here:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.4/Designing_Web_APIs.html#"&gt;docs.appian.com/.../Designing_Web_APIs.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>