<?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>Web API - Http Response Status Code</title><link>https://community.appian.com/discussions/f/integrations/13357/web-api---http-response-status-code</link><description>While Calling the WebAPIs created in Appian, getting the status code twice as shown below. In usually POST REST APIs provide status as &amp;#39;201 Created&amp;#39; as status. Instead, we are getting &amp;#39;201 201&amp;#39;.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Web API - Http Response Status Code</title><link>https://community.appian.com/thread/64522?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 05:52:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:30af2a5f-f419-4b5a-8321-bc628288edbe</guid><dc:creator>yogeshc</dc:creator><description>Hi Dilu,&lt;br /&gt;
&lt;br /&gt;
I am also facing the same issue where i getting status code twice. I checked this for codes - 500,404,200. Did you find any solution for this ?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Yogesh Challawar&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API - Http Response Status Code</title><link>https://community.appian.com/thread/60424?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 18:01:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0593f5dc-c842-4b0c-9993-2b3f64d6cff1</guid><dc:creator>Dilu</dc:creator><description>Yes. Adding the below in response&lt;br /&gt;
a!httpResponse( statusCode: 201, headers:....,body:a!toJson{}) &lt;br /&gt;
&lt;br /&gt;
When we try &amp;quot;Test Request&amp;quot; option in Web API component in Appian, it is giving status code as 201 only.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API - Http Response Status Code</title><link>https://community.appian.com/thread/60397?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 10:43:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef43ea9e-5cd1-4281-a30a-b2b00957735f</guid><dc:creator>Shanmukha</dc:creator><description>Hi Dilu,&lt;br /&gt;
&lt;br /&gt;
Just had a question, Did you override any status code in the web API. Did you try test it in other API test tolls apart from POSTMAN? Please test it other then postman and let us know the results.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API - Http Response Status Code</title><link>https://community.appian.com/thread/60394?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 10:08:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1d85436-9cb4-4aa7-b532-b81b463943c0</guid><dc:creator>jamesp0015</dc:creator><description>&lt;p&gt;Please take a look at the Web API documentation: &lt;a href="https://docs.appian.com/suite/help/18.3/Designing_Web_APIs.html"&gt;https://docs.appian.com/suite/help/18.3/Designing_Web_APIs.html&lt;/a&gt;&lt;br /&gt; When configuring the Web API, you can specify which HTTP response code to send.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>