<?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>Hello, I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/discussions/f/integrations/6693/hello-i-am-trying-to-read-from-and-write-to-a-web-api-as-i-am-new-to-it</link><description>Hello, I am trying to Read From and Write To a Web API , as I am new to it I have followed the basic example at forum.appian.com/.../Connector_Functions.html But it gave me an error &amp;quot;Cannot index property &amp;#39;body&amp;#39; of type Text into type Text&amp;quot; did anyone</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26476?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2016 10:41:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81b624d8-8842-4c2e-b0fd-a3a4068eaa32</guid><dc:creator>Tom Ryan</dc:creator><description>Based on the Unauthorized error, it seems that you may not be supplying the correct credentials. It is most likely working through the browser because you already have an active session with the site. Another good way to test web service calls externally to Appian is with SoapUI: &lt;a href="http://www.soapui.org/"&gt;http://www.soapui.org/&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26425?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 09:59:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b37deb3-5431-4252-971f-eb0b4bae4d20</guid><dc:creator>deepthig</dc:creator><description>I have created a Web API with templates provided and while connecting the URL through  a!httpQuery I am facing the below issue&lt;br /&gt;Interface Definition: Not a valid component. Received: [success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:HTTP error connecting to &lt;a href="https://Test.appiancloud.com/suite/webapi/tesstapi2,message:HTTP/1.1"&gt;Test.appiancloud.com/.../1.1&lt;/a&gt; 401 Unauthorized,detail:No details available],@attributes:[@anyAttribute:[_dirty:false,_bannerText:,_refresh:]]]&lt;br /&gt;&lt;br /&gt;while the URL is perfectly accessible in browser&lt;br /&gt;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26424?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 09:40:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13c69252-ee0f-4972-bbd7-c845c3a4766b</guid><dc:creator>deepthig</dc:creator><description>Tom, I am trying to work with a!httpWrite function as my requirement is to write back through an external API is there any way to do it ??&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26423?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 09:17:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:24617eb9-5479-451b-a722-041307b10008</guid><dc:creator>Tom Ryan</dc:creator><description>It should not. To rule out any issues with exposing the web service, it might be easier to try with an external API.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26421?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 09:04:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1592087a-62ec-4823-9c49-4f2d6508c557</guid><dc:creator>deepthig</dc:creator><description>I have created a sample API in my appian server it self and tried but still I get the same error...we are on cloud does that make any difference???&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26419?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 08:55:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8b742d8-8888-4aad-adf8-850a83772bce</guid><dc:creator>Tom Ryan</dc:creator><description>It appears that count.io is currently not available. You will need to test with a different API.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26415?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 04:38:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ace64f3d-4941-4e2e-9127-7c37ee50ece4</guid><dc:creator>deepthig</dc:creator><description>Hi Tom ... here is the expression&lt;br /&gt;&lt;br /&gt;load(&lt;br /&gt;  local!countIoGroupUrl: &amp;quot;&lt;a href="http://count.io/vb/appian-http-connector/"&gt;count.io/.../&amp;quot;,&lt;/a&gt;&lt;br /&gt;  local!count: bind(&lt;br /&gt;    get: a!fromJson(&lt;br /&gt;      jsonText: a!httpQuery(&lt;br /&gt;        url: local!countIoGroupUrl &amp;amp; &amp;quot;example&amp;quot;&lt;br /&gt;      ).result.body&lt;br /&gt;    ).count,&lt;br /&gt;    set: a!httpWrite(&lt;br /&gt;      url: _,&lt;br /&gt;      method: &amp;quot;POST&amp;quot;&lt;br /&gt;    )   &lt;br /&gt;  ),&lt;br /&gt;  a!dashboardLayout(&lt;br /&gt;    firstColumnContents: {&lt;br /&gt;      a!textField(&lt;br /&gt;        label: &amp;quot;Counter&amp;quot;,&lt;br /&gt;        instructions: &amp;quot;Use the +1 and -1 buttons below to increase or decrease the counter above&amp;quot;,&lt;br /&gt;        value: local!count,&lt;br /&gt;        readOnly: true&lt;br /&gt;      ),&lt;br /&gt;      a!buttonLayout(&lt;br /&gt;        secondaryButtons: {&lt;br /&gt;          a!buttonWidget(&lt;br /&gt;            label: &amp;quot;- 1&amp;quot;,&lt;br /&gt;            value: local!countIoGroupUrl &amp;amp; &amp;quot;example-&amp;quot;,&lt;br /&gt;            saveInto: local!count&lt;br /&gt;          ),&lt;br /&gt;          a!buttonWidget(&lt;br /&gt;            label: &amp;quot;+ 1&amp;quot;,&lt;br /&gt;            value: local!countIoGroupUrl &amp;amp; &amp;quot;example+&amp;quot;,&lt;br /&gt;            saveInto: local!count&lt;br /&gt;          )&lt;br /&gt;        }&lt;br /&gt;      )&lt;br /&gt;    }&lt;br /&gt;  )&lt;br /&gt;)&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;I am trying to Read From and Write To a Web API , as I am new to it</title><link>https://community.appian.com/thread/26411?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 04:04:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1055d9e-45c1-4d7f-a238-1796c6941c86</guid><dc:creator>Tom Ryan</dc:creator><description>It sounds like you may have an error in an expression, possibly passing the wrong type as a parameter. Can you attach the expression?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>