<?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: REST item update request - 302 redirect, then returns HTML update page in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-item-update-request-302-redirect-then-returns/m-p/590777#M2821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution was to set a request header ('Content-Type', 'application/x-www-form-urlencoded') and instead of sending a stringified JSON parameter&amp;nbsp;object, send a parameter string ('f=json&amp;amp;title=a title&amp;amp;description=a description...').&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 19:51:48 GMT</pubDate>
    <dc:creator>TyroneLigon1</dc:creator>
    <dc:date>2018-01-31T19:51:48Z</dc:date>
    <item>
      <title>REST item update request - 302 redirect, then returns HTML update page</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-item-update-request-302-redirect-then-returns/m-p/590776#M2820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to edit a Portal item through the REST interface. When the request is submitted, I get a 302 response, then a 200 response with the item update HTML page as the response body. I was expecting a JSON response with the result of the update request (item ID and success or failure). The code is on an intranet, but I attached an XMLHttpRequest&amp;nbsp;code snippet. Am I doing something wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 17:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-item-update-request-302-redirect-then-returns/m-p/590776#M2820</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2018-01-29T17:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: REST item update request - 302 redirect, then returns HTML update page</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-item-update-request-302-redirect-then-returns/m-p/590777#M2821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution was to set a request header ('Content-Type', 'application/x-www-form-urlencoded') and instead of sending a stringified JSON parameter&amp;nbsp;object, send a parameter string ('f=json&amp;amp;title=a title&amp;amp;description=a description...').&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 19:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-item-update-request-302-redirect-then-returns/m-p/590777#M2821</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2018-01-31T19:51:48Z</dc:date>
    </item>
  </channel>
</rss>

