<?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 data on https (The resource from this URL is not text) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-data-on-https-the-resource-from-this-url/m-p/634764#M59291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I require this urgent help here&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to fetch data from via FeatureLayer over https&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server-name&amp;gt;/arcgis/rest/services/grid/MapServer/0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is as soon this server is on https, and we are not getting proper response&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the type of response that we get from the server, when we do&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;featureLayer.selectFeatures();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The resource from this URL is not text: https://&amp;lt;server-name&amp;gt;/rest/services/grid/MapServer/0/query?f=json&amp;amp;where=NAME%20%3D%20%27AGR1%27%20AND%20SUBGRID_PRESENT%20%3D%20%27NO%27&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=NAME%2CGRID_NUMBER%2CCOUNT%2COBJECTID&amp;amp;callback=esriDojo.io.script.jsonp_esriDojoIoScript4._jsonpCallback&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know how can I fix this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as we switch to http it all works well&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 13:55:58 GMT</pubDate>
    <dc:creator>ApratimDas1</dc:creator>
    <dc:date>2013-06-20T13:55:58Z</dc:date>
    <item>
      <title>getting data on https (The resource from this URL is not text)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-data-on-https-the-resource-from-this-url/m-p/634764#M59291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I require this urgent help here&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to fetch data from via FeatureLayer over https&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server-name&amp;gt;/arcgis/rest/services/grid/MapServer/0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is as soon this server is on https, and we are not getting proper response&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the type of response that we get from the server, when we do&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;featureLayer.selectFeatures();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The resource from this URL is not text: https://&amp;lt;server-name&amp;gt;/rest/services/grid/MapServer/0/query?f=json&amp;amp;where=NAME%20%3D%20%27AGR1%27%20AND%20SUBGRID_PRESENT%20%3D%20%27NO%27&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=NAME%2CGRID_NUMBER%2CCOUNT%2COBJECTID&amp;amp;callback=esriDojo.io.script.jsonp_esriDojoIoScript4._jsonpCallback&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know how can I fix this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as we switch to http it all works well&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 13:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-data-on-https-the-resource-from-this-url/m-p/634764#M59291</guid>
      <dc:creator>ApratimDas1</dc:creator>
      <dc:date>2013-06-20T13:55:58Z</dc:date>
    </item>
  </channel>
</rss>

