<?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: Accessing http URL from the application in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532824#M13898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dasari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Portal urls are always https so your app that access the portal url should use https.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 18:35:40 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2018-02-21T18:35:40Z</dc:date>
    <item>
      <title>Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532823#M13897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am accessing the REST service using esriRequest which is http URL from the portal linked web application.&lt;/P&gt;&lt;P&gt;however the application is accessing using https and response giving unable to load the url status 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Srikanth Dasari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 18:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532823#M13897</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-21T18:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532824#M13898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dasari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Portal urls are always https so your app that access the portal url should use https.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 18:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532824#M13898</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-21T18:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532825#M13899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am accessing SharePoint REST Service URL (http) from the application https. Do I need to make SharePoint as a secured one??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 18:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532825#M13899</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-21T18:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532826#M13900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mixed content is always a bad practice so yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532826#M13900</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-21T19:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532827#M13901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532827#M13901</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-21T19:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532828#M13902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if its a bad practise, Could you please provide the solution??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:37:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532828#M13902</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-21T19:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532829#M13903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to share your code for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532829#M13903</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-21T19:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532830#M13904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var requestJson = {&lt;BR /&gt; method: "POST",&lt;BR /&gt; body: { '__metadata': { 'type': 'SP.Data.Data RequestListItem' }, 'Requestor': 'Test' }&lt;BR /&gt; //facilities: webMercatorUtils.webMercatorToGeographic(this.geom).x + "," + webMercatorUtils.webMercatorToGeographic(this.geom).y + ";",&lt;BR /&gt; ////outSR: this.geom.spatialReference.wkid,&lt;BR /&gt; //token: this.token.token,&lt;BR /&gt; //defaultBreaks: [this.selectBufferUnits.value],&lt;BR /&gt; //f: "json"&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;esriRequest({&lt;BR /&gt;&lt;SPAN&gt; url: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fsp%2Fops%2FPortal%2F_api%2FLists%2FGetByTitle%28%27ListItem%27%29%2Fitems" rel="nofollow" target="_blank"&gt;http://sp/ops/Portal/_api/Lists/GetByTitle('ListItem')/items&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt; content: requestJson,&lt;BR /&gt; handleAs: "json",&lt;BR /&gt; withCredentials:true&lt;BR /&gt; }).then(lang.hitch(this, function (response) {&lt;BR /&gt; this._showError(response);&lt;BR /&gt; }), function (err) {&lt;BR /&gt; new Message({ titleLabel: "Warning", message: err.message });&lt;BR /&gt; });&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here is the code and getting the error in the console is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;init.js:141 GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsp%2Fops%2FPortal%2F_api%2FLists%2FGetByTitle%28%27ListItem%27%29%2Fitems%3Fmethod%3DPOST%26body%3D%255Bobject%2520Object%255D" rel="nofollow" target="_blank"&gt;https://sp/ops/Portal/_api/Lists/GetByTitle('ListItem')/items?method=POST&amp;amp;body=%5Bobject%20Object%5D&lt;/A&gt;&lt;SPAN&gt; net::ERR_CONNECTION_TIMED_OUT&lt;/SPAN&gt;&lt;BR /&gt;l @ init.js:141&lt;BR /&gt;b.xhr @ init.js:92&lt;BR /&gt;b.xhrGet @ init.js:92&lt;BR /&gt;w @ init.js:1010&lt;BR /&gt;g @ init.js:1013&lt;BR /&gt;A @ init.js:1019&lt;BR /&gt;(anonymous) @ init.js:1019&lt;BR /&gt;c @ init.js:103&lt;BR /&gt;C.then.then @ init.js:105&lt;BR /&gt;always @ init.js:112&lt;BR /&gt;C @ init.js:1019&lt;BR /&gt;_onBtnSubmitClicked @ Widget.js?wab_dv=2.6:102&lt;BR /&gt;(anonymous) @ init.js:63&lt;BR /&gt;init.js:89 f {message: "Unable to load //sp/ops/Portal/_api/Lists/GetByT…?method=POST&amp;amp;body=%5Bobject%20Object%5D status: 0", response: {…}, status: 0, responseText: "", xhr: XMLHttpRequest,&amp;nbsp;…}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532830#M13904</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-21T19:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532831#M13905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the GetByTitle portion of your url a function that you are trying to call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 20:02:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532831#M13905</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-21T20:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532832#M13906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a hierarchy in SharePoint..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Website --&amp;gt; List Items (Forms) --&amp;gt; items (Records)&lt;/P&gt;&lt;P&gt;In order to create a new record in one of the Form --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://sp/ops/Portal/_api/Lists/GetByTitle(" title="https://sp/ops/Portal/_api/Lists/GetByTitle("&gt;https://sp/ops/Portal/_api/Lists/GetByTitle(&lt;/A&gt;'FormName') --&amp;gt; Will give access to the form--&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://sp/ops/Portal/_api/Lists/GetByTitle(" title="https://sp/ops/Portal/_api/Lists/GetByTitle("&gt;https://sp/ops/Portal/_api/Lists/GetByTitle(&lt;/A&gt;"FormName")/items&amp;nbsp;--&amp;gt; Will give access to the records either to create or query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Srikanth Dasari&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 20:15:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532832#M13906</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-21T20:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532833#M13907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So when manually add the url to your web browsers address bar does your url work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 20:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532833#M13907</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-21T20:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532834#M13908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Wed, 21 Feb 2018 at 2:32 pm, Robert Scheitlin, GISP &amp;lt;geonet@esri.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 00:37:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532834#M13908</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-22T00:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532835#M13909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show me the exact url that works and what the return looks like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 13:22:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532835#M13909</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-22T13:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532836#M13910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Issue got resolved. Actually, I am using esriRequest for a non-esri "SharePoint" service and I have used dojo/request/xhr to resolve issue. Now, I am facing issue with the mixed content "Mixed Content: The page at '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Flocalhost%3A44397%2F" rel="nofollow" target="_blank"&gt;https://localhost:44397/&lt;/A&gt;&lt;SPAN&gt;' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'URL'. This request has been blocked; the content must be served over HTTPS"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Srikanth Dasari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 22:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532836#M13910</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-22T22:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532837#M13911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your only solution is to not mix content. Either use http or https.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 23:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532837#M13911</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-22T23:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532838#M13912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SharePoint is only for internal purpose so they are using with http..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, 22 Feb 2018 at 5:17 pm, Robert Scheitlin, GISP &amp;lt;geonet@esri.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 23:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532838#M13912</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-02-22T23:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing http URL from the application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532839#M13913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But that does not help your mixed content issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 23:38:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/accessing-http-url-from-the-application/m-p/532839#M13913</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-22T23:38:42Z</dc:date>
    </item>
  </channel>
</rss>

