<?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 Getting list of services from ArcGIS Online in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-list-of-services-from-arcgis-online/m-p/408280#M37624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Up until this morning, I was able to receive a list of private services on my ArcGIS Online account by having my server authenticate to ESRI (using my app id) and pass back a token to append to my URLs. I would then hit the RESTful endpoint to obtain a list in the JSON format. (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://services1.arcgis.com/" rel="nofollow" target="_blank"&gt;https://services1.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myIdForAGOL&amp;gt;/arcgis/rest/services?f=json&amp;amp;token=&amp;lt;really long string&amp;gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it returns a JSON object with an empty array. I can remove f=json and see the services in the HTML view, so I know they're there. My guess is that the token is too long for a GET request and adding f=json truncates a part of the token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way to get a list of my services in JSON format programmatically?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 20:11:47 GMT</pubDate>
    <dc:creator>JimWharton</dc:creator>
    <dc:date>2013-12-12T20:11:47Z</dc:date>
    <item>
      <title>Getting list of services from ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-list-of-services-from-arcgis-online/m-p/408280#M37624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Up until this morning, I was able to receive a list of private services on my ArcGIS Online account by having my server authenticate to ESRI (using my app id) and pass back a token to append to my URLs. I would then hit the RESTful endpoint to obtain a list in the JSON format. (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://services1.arcgis.com/" rel="nofollow" target="_blank"&gt;https://services1.arcgis.com/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myIdForAGOL&amp;gt;/arcgis/rest/services?f=json&amp;amp;token=&amp;lt;really long string&amp;gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it returns a JSON object with an empty array. I can remove f=json and see the services in the HTML view, so I know they're there. My guess is that the token is too long for a GET request and adding f=json truncates a part of the token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way to get a list of my services in JSON format programmatically?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 20:11:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-list-of-services-from-arcgis-online/m-p/408280#M37624</guid>
      <dc:creator>JimWharton</dc:creator>
      <dc:date>2013-12-12T20:11:47Z</dc:date>
    </item>
  </channel>
</rss>

