<?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>how to get response header from httppost</title><link>https://community.appian.com/discussions/f/plug-ins/17169/how-to-get-response-header-from-httppost</link><description>Hello, 
 I&amp;#39;m using httppost to call one of the REST service. I&amp;#39;m getting response body but is there any way to get response header from it ? 
 
 Thanks, 
 Tushar</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to get response header from httppost</title><link>https://community.appian.com/thread/67865?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 15:33:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9c4889c-a3f3-42d3-9d05-218a581ee1a8</guid><dc:creator>Raghuvaran Nagarajan</dc:creator><description>[quote userid="2948" url="~/discussions/f/plug-ins/17169/how-to-get-response-header-from-httppost/67862"]error: &amp;quot;hostname in certificate didn&amp;#39;t match&amp;quot; [/quote]
&lt;p&gt;httppost() being a custom&amp;nbsp;function, runs directly in JVM so&amp;nbsp;&lt;span&gt;-Dweblogic.security.SSL.ignoreHostnameVerification=true parameter will&amp;nbsp;be applied. Whereas the integration object runs in JVM on top of Appian&amp;#39;s code. So, we cannot expect same behaviour. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Try to use the same DNS name present in the subjectDN of the openshift service&amp;#39;s SSL certificate, on the URL used in the integration object. If this doesn&amp;#39;t work, try creating a self signed certificate for your service&amp;#39;s base URL and load it as trusted server certificate&amp;nbsp;in Appian admin console. And check if that helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks, Raghu&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get response header from httppost</title><link>https://community.appian.com/thread/67862?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 15:04:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9dfdbf58-b926-46fd-b405-a195f69d66dc</guid><dc:creator>tushark171</dc:creator><description>&lt;p&gt;we host services on openshift when we use configuration passthrough on openshift integration component fails with error: &amp;quot;hostname in certificate didn&amp;#39;t match&amp;quot; event though weblogic configuration is to ignore hostname verification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get response header from httppost</title><link>https://community.appian.com/thread/67858?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 14:29:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c022f2a5-fae8-4f68-b690-c501cf037cd8</guid><dc:creator>Raghuvaran Nagarajan</dc:creator><description>[quote userid="2948" url="~/discussions/f/plug-ins/17169/how-to-get-response-header-from-httppost/67856"]Hostname verification issue[/quote]
&lt;p&gt;Can you explain more about this issue? because,&amp;nbsp;httppost() is deprecated and it is not supported by Appian (since it is custom component). So the strategic solution would be to fix the issue and use integration object.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get response header from httppost</title><link>https://community.appian.com/thread/67856?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 14:13:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c46177e8-9234-4f63-8536-e608f05f16ba</guid><dc:creator>tushark171</dc:creator><description>&lt;p&gt;As Integration component does not work because of Hostname verification issue we moved to httppost and now http post does not provide response header&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get response header from httppost</title><link>https://community.appian.com/thread/67849?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 13:10:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67d26e0e-c14c-47af-840f-5b8c64ba61bc</guid><dc:creator>Raghuvaran Nagarajan</dc:creator><description>&lt;p&gt;&lt;a href="/members/tushark171"&gt;tushark171&lt;/a&gt;, the httppost() is a custom function and it returns only the response body. If you are calling a rest service, It is recommended to use integration object. If you use an integration object you can access response header, statusCode, statusLine, contentType and body&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>