<?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 Accessing the parameters from a put request in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-parameters-from-a-put-request/m-p/266142#M219272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a webscript that is accessed through a put request, but I can't figure out how to access the parameters. I've tried through formdata and through args and neither seem to contain the parameters that I'm passing in. How do I get them?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2012 19:43:02 GMT</pubDate>
    <dc:creator>dallinns</dc:creator>
    <dc:date>2012-02-21T19:43:02Z</dc:date>
    <item>
      <title>Accessing the parameters from a put request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-parameters-from-a-put-request/m-p/266142#M219272</link>
      <description>I have a webscript that is accessed through a put request, but I can't figure out how to access the parameters. I've tried through formdata and through args and neither seem to contain the parameters that I'm passing in. How do I get them?</description>
      <pubDate>Tue, 21 Feb 2012 19:43:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-parameters-from-a-put-request/m-p/266142#M219272</guid>
      <dc:creator>dallinns</dc:creator>
      <dc:date>2012-02-21T19:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the parameters from a put request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-parameters-from-a-put-request/m-p/266143#M219273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends on how're you sending the request (using parameters in the url, sending a body request, etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it seems if formdata and args are not working you might try requestbody.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Request_Processing" rel="nofollow noopener noreferrer"&gt;this link&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have more info in that page regarding the request processing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example if you putting a json and you want to access to it use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var jsonData = jsonUtils.toObject(requestbody.content);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 14:46:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-parameters-from-a-put-request/m-p/266143#M219273</guid>
      <dc:creator>amandaluniz_z</dc:creator>
      <dc:date>2012-02-22T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the parameters from a put request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-parameters-from-a-put-request/m-p/266144#M219274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check out the section &lt;/SPAN&gt;&lt;STRONG&gt;Tunneling HTTP Methods &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;under this link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 12:18:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-parameters-from-a-put-request/m-p/266144#M219274</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-02-24T12:18:02Z</dc:date>
    </item>
  </channel>
</rss>

