<?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: generate a token with arcgis server url in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/generate-a-token-with-arcgis-server-url/m-p/1218795#M4282</link>
    <description>&lt;P&gt;did you ever solve this?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2022 19:53:28 GMT</pubDate>
    <dc:creator>Br1an_Peters</dc:creator>
    <dc:date>2022-10-04T19:53:28Z</dc:date>
    <item>
      <title>generate a token with arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/generate-a-token-with-arcgis-server-url/m-p/690732#M3356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in 10.3 server some of my apps configured to get token from httpGet&lt;/P&gt;&lt;P&gt;with these sample format url, i used to generate token by passing values,&amp;nbsp;&amp;nbsp;https://abc.123.com/webAdapterName/tokens/generateToken&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="258" src="https://community.esri.com/legacyfs/online/512309_pastedImage_1.png" width="517" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;recently we upgraded to 10.8 enterprise portal architecture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;https://Newabc.123.com/&lt;SPAN&gt;webAdapterName&lt;/SPAN&gt;&lt;SPAN&gt;/tokens/generateToken&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the message i get is "&lt;SPAN style="color: #000000;"&gt;HTTP GET is disabled"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; "&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/512310_pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; "&gt;from this page&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/latest/administer/linux/enable-token-acquisition-through-an-http-get-request.htm" title="https://enterprise.arcgis.com/en/server/latest/administer/linux/enable-token-acquisition-through-an-http-get-request.htm"&gt;Enable token acquisition through an HTTP GET request—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;, i added "&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; "allowHttpGet": "true"" and updated the token.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #595959; "&gt;after that, i get result as below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #595959; "&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/512311_pastedImage_4.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #595959; "&gt;Any suggestions please, for generating tokens, with the rest api, am trying to use it in c#&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #595959; "&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 19:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/generate-a-token-with-arcgis-server-url/m-p/690732#M3356</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2020-11-02T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: generate a token with arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/generate-a-token-with-arcgis-server-url/m-p/690733#M3357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For security reasons, you would not want the username and password appended to the URL and sent unsecured as is the case for a get request.&amp;nbsp; Look in your documentation on how to generate a post request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference: &lt;A href="https://www.w3schools.com/tags/ref_httpmethods.asp"&gt;HTTP Methods GET vs POST&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 20:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/generate-a-token-with-arcgis-server-url/m-p/690733#M3357</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2020-11-02T20:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: generate a token with arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/generate-a-token-with-arcgis-server-url/m-p/1218795#M4282</link>
      <description>&lt;P&gt;did you ever solve this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 19:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/generate-a-token-with-arcgis-server-url/m-p/1218795#M4282</guid>
      <dc:creator>Br1an_Peters</dc:creator>
      <dc:date>2022-10-04T19:53:28Z</dc:date>
    </item>
  </channel>
</rss>

