<?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: How to set a custom header on QML NetworkRequest Type? in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-set-a-custom-header-on-qml-networkrequest/m-p/871528#M3319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the &lt;A href="https://doc.arcgis.com/en/appstudio/api/reference/framework/qml-arcgis-appframework-networkrequest/"&gt;NetworkRequest&lt;/A&gt; from AppStudio AppFramework, then you can set it like this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;networkRequest.headers[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"Content-Type"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;] = &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"&lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;application/json;charset=UTF-8&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;This is documented on this API-Guide link (scroll all the way to the bottom),&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/appstudio/api-guide/apinetworkservices.htm" title="https://doc.arcgis.com/en/appstudio/api-guide/apinetworkservices.htm"&gt;Work with networking services—AppStudio for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Erwin.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 18:24:37 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2019-02-20T18:24:37Z</dc:date>
    <item>
      <title>How to set a custom header on QML NetworkRequest Type?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-set-a-custom-header-on-qml-networkrequest/m-p/871527#M3318</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 need to set "Content-Type" to&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #008000;"&gt;"application/json;charset=UTF-8" for a POST request to a 3rd party API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;How do I do this. It's not clear in the API doc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 17:18:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-set-a-custom-header-on-qml-networkrequest/m-p/871527#M3318</guid>
      <dc:creator>MattEnglish</dc:creator>
      <dc:date>2019-02-20T17:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a custom header on QML NetworkRequest Type?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-set-a-custom-header-on-qml-networkrequest/m-p/871528#M3319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the &lt;A href="https://doc.arcgis.com/en/appstudio/api/reference/framework/qml-arcgis-appframework-networkrequest/"&gt;NetworkRequest&lt;/A&gt; from AppStudio AppFramework, then you can set it like this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;networkRequest.headers[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"Content-Type"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;] = &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;"&lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;application/json;charset=UTF-8&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;This is documented on this API-Guide link (scroll all the way to the bottom),&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/appstudio/api-guide/apinetworkservices.htm" title="https://doc.arcgis.com/en/appstudio/api-guide/apinetworkservices.htm"&gt;Work with networking services—AppStudio for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Erwin.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 18:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-set-a-custom-header-on-qml-networkrequest/m-p/871528#M3319</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-02-20T18:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a custom header on QML NetworkRequest Type?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-set-a-custom-header-on-qml-networkrequest/m-p/871529#M3320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be helpful to have this info here as well:&lt;/P&gt;&lt;H1 class="" style="color: #4c4c4c; font-weight: 300; font-size: 2.40307rem; margin: 0px 0px 1.55rem;"&gt;NetworkRequestHeaders QML Type&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 20:47:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-set-a-custom-header-on-qml-networkrequest/m-p/871529#M3320</guid>
      <dc:creator>MattEnglish</dc:creator>
      <dc:date>2019-02-20T20:47:27Z</dc:date>
    </item>
  </channel>
</rss>

