<?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>Http POST method</title><link>https://community.appian.com/discussions/f/integrations/11362/http-post-method</link><description>Is there a way to use POST with a!httpquery() ? I don&amp;#39;t see the POST option under method. I do see in the http query smart service that it contains a value of POST under method. Has anyone been successful in using this or can guide me in the right direction</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Http POST method</title><link>https://community.appian.com/thread/69519?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 10:52:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0800415b-ad6f-4269-bf0d-3dc3dc844587</guid><dc:creator>Tier1app</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As part of continuous integration it&amp;rsquo;s highly encouraged to execute performance tests. Thread dumps/GC Logs should be captured and it can be analyzed using the API.&amp;nbsp; If API reports any problems, then build can be failed. In this way, you can catch the performance degradation right during code commit time instead of catching it in performance labs or production.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please have a look here:&amp;nbsp;&lt;/span&gt;&lt;a href="https://blog.gceasy.io/2016/06/18/garbage-collection-log-analysis-api/"&gt;How to invoke Garbage collection log analysis API?&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;/h3&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Http POST method</title><link>https://community.appian.com/thread/49969?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 22:06:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62872ecb-3589-424a-87ba-3e373e1a2c3e</guid><dc:creator>Arun Theja Muthyalu</dc:creator><description>Hi xingc,&lt;br /&gt;
&lt;br /&gt;
When you use HTTP Query Smart Service to communicate with another system, you are actually making a  HTTP Transaction in the background which contains a Request and a Response.&lt;br /&gt;
&lt;br /&gt;
To put it simply, Headers are nothing key value pairs which gives information about the data that you are sending in the request(or the data that you are receiving in the response). For example, the most commonly used  header field, &amp;quot;Content-Type&amp;quot;, tells about the type of the data(XML/Json/Text/etc.,) that you are sending in the Request(or receiving in the Response).&lt;br /&gt;
&lt;br /&gt;
a!httpWrite() returns the Writer and that is why it should be used with the bind() function. Because bind() lets you bind a getter and setter rule or function to a variable such that when that variable is read, the getter method is called and when it is saved into, the writer returned by the setter method is called. Please go through the below link for further information.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/17.3/fnc_evaluation_bind.html"&gt;docs.appian.com/.../fnc_evaluation_bind.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this answers your questions.&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: Http POST method</title><link>https://community.appian.com/thread/49968?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 21:15:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06fa9fef-3715-4da1-9cd2-a64530a7ce95</guid><dc:creator>xingc</dc:creator><description>Thanks for the help. I was able to get the POST working the HTTP Query Smart Service. I do have some questions though. I didn&amp;#39;t input any values for Headers and Parameters. 1) what exactly are those fields for?  2) what is the purpose of bind() when using httpwrite()?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Http POST method</title><link>https://community.appian.com/thread/49966?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 20:36:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:792cc38f-ad55-434c-b700-e2a1ebe23d56</guid><dc:creator>Dan Lluhi</dc:creator><description>Note that the HTTP Query Smart Service was deprecated in 17.3 as well, so I definitely recommend looking into Integrations as an alternative.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Http POST method</title><link>https://community.appian.com/thread/49965?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 20:36:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6ad9b49-31bb-4816-9343-5553b9cf10e9</guid><dc:creator>Colton Beck</dc:creator><description>&lt;p&gt;If you&amp;#39;re on an older version of Appian, check out the &lt;a href="https://docs.appian.com/suite/help/17.1/fnc_connector_http_a_httpwrite.html"&gt;a!httpWrite()&lt;/a&gt; function. Otherwise, look into using the new &lt;a href="https://docs.appian.com/suite/help/17.3/Integration_Object.html"&gt;Integration Objects&lt;/a&gt; to fulfill the requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Http POST method</title><link>https://community.appian.com/thread/49964?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 20:34:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38a88d50-6a78-4c60-a78a-aad656c260fd</guid><dc:creator>aloks0189</dc:creator><description>Hi &lt;a href="/members/xingc"&gt;xingc&lt;/a&gt;  a!httpquery() is meant for servicing GET specific calls only. You can use a!httpwrite() function to invoke POST call and send the data through Body.&lt;br /&gt;
&lt;br /&gt;
But if you are working with Appian 17.x version, they have introduced Integration object, which is quick to configure and execute. But if you are working with lower version of Appian then in such case you can go for a!httpwrite() &lt;br /&gt;
&lt;br /&gt;
But httpwrite() or Integration object must be executed on saveInto by the use of bind() on load, for example within interface.&lt;br /&gt;
&lt;br /&gt;
But if you want to execute POST call using process model node such as Script Task, then you can go for HTTP Query Smart Service, where method will be set to POST&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hope this will help you.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Http POST method</title><link>https://community.appian.com/thread/49963?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 20:32:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ec4480e1-cbb6-41fe-bfd0-10b001319b42</guid><dc:creator>Dan Lluhi</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
Unfortunately a!httpQuery() doesn&amp;#39;t support POST, as it&amp;#39;s supposed to be used exclusively for retrieving information. It&amp;#39;s also worth nothing that a!httpQuery() was recently deprecated (in version 17.2 I believe), and will be removed in a future version of Appian. It&amp;#39;s recommended that instead you start using Integrations (&lt;a href="https://docs.appian.com/suite/help/17.3/Integration_Object.html)"&gt;docs.appian.com/.../Integration_Object.html)&lt;/a&gt;, which do have options that support POST.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Dan&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>