<?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: API Authentication in Insomnia in ExtremeCloud IQ Controller</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51096#M20</link>
    <description>Hi Byron,&lt;BR /&gt;Here the way to chain requests in Insomnia.&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mig</description>
    <pubDate>Wed, 16 Feb 2022 19:51:00 GMT</pubDate>
    <dc:creator>Miguel-Angel_RO</dc:creator>
    <dc:date>2022-02-16T19:51:00Z</dc:date>
    <item>
      <title>API Authentication in Insomnia</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51093#M17</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;I'm trying to use insomnia to use XCC api but I keep getting 401 unauthorized error.&lt;BR /&gt;&lt;BR /&gt;I have the authentication set to Bearer but I'm not sure what to put in for the token or prefix.&lt;BR /&gt;&lt;BR /&gt;I create an API key for the admin user in XCC and pasted that into the token field but that doesn't work.</description>
      <pubDate>Tue, 15 Feb 2022 21:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51093#M17</guid>
      <dc:creator>Byron_Morales</dc:creator>
      <dc:date>2022-02-15T21:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Authentication in Insomnia</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51094#M18</link>
      <description>Hi Byron&lt;BR /&gt;&lt;BR /&gt;First you must do a POST and send username/password to the controller which asks the controller to generate a time-limited token for you, once you have this token (a very long string) you copy/paste that into the token value in the bearer, the token is used to authenticate future REST API calls, see below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="652ed8d6a47a4afcb6065b96d07fdd49.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/207i1C63549594F4B631/image-size/large?v=v2&amp;amp;px=999" role="button" title="652ed8d6a47a4afcb6065b96d07fdd49.png" alt="652ed8d6a47a4afcb6065b96d07fdd49.png" /&gt;&lt;/span&gt;&lt;BR /&gt;HTH&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;-Gareth</description>
      <pubDate>Wed, 16 Feb 2022 12:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51094#M18</guid>
      <dc:creator>Gareth_Mitchell</dc:creator>
      <dc:date>2022-02-16T12:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Authentication in Insomnia</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51095#M19</link>
      <description>Hi Gareth,&lt;BR /&gt;&lt;BR /&gt;Thanks for getting back to me. I was able to figure out by using curl to send the post and passing the json file with my credentials, but I was wondering how to do the same in insomnia which I now understand from your screenshot. I played around with adding APs in bulk to XCC and it worked out great. I'm really loving the flexibility this is going to create as I dive deeper into the API's available and how I manage our end customers.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a question on the reauth token though. I was able to send the POST using the reauth token and saw that I get a new token and new reauth token, but is there a way to make make the token persistent or not expire? I'm wondering how I'm supposed to update the authentication token if I want to run API's calls on a schedule.</description>
      <pubDate>Wed, 16 Feb 2022 19:07:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51095#M19</guid>
      <dc:creator>Byron_Morales</dc:creator>
      <dc:date>2022-02-16T19:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Authentication in Insomnia</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51096#M20</link>
      <description>Hi Byron,&lt;BR /&gt;Here the way to chain requests in Insomnia.&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mig</description>
      <pubDate>Wed, 16 Feb 2022 19:51:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/api-authentication-in-insomnia/m-p/51096#M20</guid>
      <dc:creator>Miguel-Angel_RO</dc:creator>
      <dc:date>2022-02-16T19:51:00Z</dc:date>
    </item>
  </channel>
</rss>

