<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calling POST webscript in ruby in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26274#M11359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find all the explanation in the official docs here&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html" title="http://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html" rel="nofollow noopener noreferrer"&gt;Web scripts | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, short answer to you "what if I want to call a GET request", in that case you have to configure Ruby to use the GET method instead of the POST, but for that, I have nothing to say, as I know nothing about Ruby.&lt;/P&gt;&lt;P&gt;It seems, by your sample code, that Ruby uses POST as default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 20:14:15 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2017-06-28T20:14:15Z</dc:date>
    <item>
      <title>Calling POST webscript in ruby</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26271#M11356</link>
      <description>I have developed a webscript in alfresco:/settaskstatus?taskID=491389&amp;amp;status=Completedwhich sets status of a task based on it's ID.&amp;nbsp;I am trying to call this web script upon click of a button in ruby(erb)&amp;lt;%=button_to "Completed", "https://plxcas140.pdx.intel.com:8443/alfresco/service/settaskst</description>
      <pubDate>Wed, 28 Jun 2017 18:26:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26271#M11356</guid>
      <dc:creator>sakshik</dc:creator>
      <dc:date>2017-06-28T18:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calling POST webscript in ruby</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26272#M11357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means the webscript you created is not able to deal with the POST method.&lt;/P&gt;&lt;P&gt;Much probably you have only the GET method.&lt;/P&gt;&lt;P&gt;Can you share here the webscript's code?&lt;/P&gt;&lt;P&gt;Remember to share everything you have (xml, ftl, js, java, whatever)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 19:25:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26272#M11357</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-06-28T19:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calling POST webscript in ruby</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26273#M11358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I changed the name of my script from settaskstatus.get.js to settaskstatus.post.js and then the button worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain the reason behind it and what if I want to call a GET request&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 20:02:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26273#M11358</guid>
      <dc:creator>sakshik</dc:creator>
      <dc:date>2017-06-28T20:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calling POST webscript in ruby</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26274#M11359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find all the explanation in the official docs here&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html" title="http://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html" rel="nofollow noopener noreferrer"&gt;Web scripts | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, short answer to you "what if I want to call a GET request", in that case you have to configure Ruby to use the GET method instead of the POST, but for that, I have nothing to say, as I know nothing about Ruby.&lt;/P&gt;&lt;P&gt;It seems, by your sample code, that Ruby uses POST as default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 20:14:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26274#M11359</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-06-28T20:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calling POST webscript in ruby</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26275#M11360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay thanks &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 20:22:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-post-webscript-in-ruby/m-p/26275#M11360</guid>
      <dc:creator>sakshik</dc:creator>
      <dc:date>2017-06-28T20:22:59Z</dc:date>
    </item>
  </channel>
</rss>

