<?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 How can i pass the token to Routetask in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-pass-the-token-to-routetask/m-p/269884#M24842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i try to solve the path using RouteTask it says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;dojo.io.script error&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="section" style="margin: 0 0 0 12px !important;"&gt;&lt;/P&gt;&lt;DIV class="monospace header" style="padding: 0 8px 0 0;"&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;Error {&lt;SPAN class="name" style="color: #881391;"&gt;code&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-number" style="color: #1c00cf;"&gt;499&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;message&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-string" style="color: #c41a16;"&gt;"Token Required"&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;details&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-object" style="color: inherit;"&gt;Array[0]&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;log&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-boolean" style="color: #1c00cf;"&gt;true&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;httpCode&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-number" style="color: #1c00cf;"&gt;499&lt;/SPAN&gt;…}&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;How can pass the token to RouteTask?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;i am getting token as in the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000"&gt;ArcGIS REST API&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;is any other way to do this?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 07:16:19 GMT</pubDate>
    <dc:creator>ChiranjeeviGK</dc:creator>
    <dc:date>2014-08-20T07:16:19Z</dc:date>
    <item>
      <title>How can i pass the token to Routetask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-pass-the-token-to-routetask/m-p/269884#M24842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i try to solve the path using RouteTask it says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;dojo.io.script error&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="section" style="margin: 0 0 0 12px !important;"&gt;&lt;/P&gt;&lt;DIV class="monospace header" style="padding: 0 8px 0 0;"&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;Error {&lt;SPAN class="name" style="color: #881391;"&gt;code&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-number" style="color: #1c00cf;"&gt;499&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;message&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-string" style="color: #c41a16;"&gt;"Token Required"&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;details&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-object" style="color: inherit;"&gt;Array[0]&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;log&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-boolean" style="color: #1c00cf;"&gt;true&lt;/SPAN&gt;, &lt;SPAN class="name" style="color: #881391;"&gt;httpCode&lt;/SPAN&gt;: &lt;SPAN class="console-formatted-number" style="color: #1c00cf;"&gt;499&lt;/SPAN&gt;…}&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;How can pass the token to RouteTask?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;i am getting token as in the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000268000000"&gt;ArcGIS REST API&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="title"&gt;&lt;SPAN class="console-object-preview" style="font-style: italic;"&gt;is any other way to do this?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 07:16:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-pass-the-token-to-routetask/m-p/269884#M24842</guid>
      <dc:creator>ChiranjeeviGK</dc:creator>
      <dc:date>2014-08-20T07:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can i pass the token to Routetask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-pass-the-token-to-routetask/m-p/269885#M24843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the REST API the token is added to the request URL. However, in the JS API the RouteTask and RouteParameters do not have a property for assigning a token to the request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the &lt;A href="https://developers.arcgis.com/javascript/jshelp/ags_secureservices.html"&gt;Token based authentication&lt;/A&gt; section on the secure services help section. You may need to use the Identity Manager so check out the &lt;A href="https://developers.arcgis.com/javascript/jssamples/#search/IdentityManager"&gt;samples.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 07:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-pass-the-token-to-routetask/m-p/269885#M24843</guid>
      <dc:creator>OwenEarley</dc:creator>
      <dc:date>2014-08-20T07:45:49Z</dc:date>
    </item>
  </channel>
</rss>

