<?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: DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST in APIs</title>
    <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877495#M124</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Thanks-&lt;/P&gt;
&lt;P&gt;Never mind. I found the issue and fixed it.&lt;/P&gt;
&lt;P&gt;Auth Key data was not correct.&lt;/P&gt;
&lt;P&gt;Thanks again for your support.&lt;/P&gt;
&lt;P&gt;-Samy&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 30 May 2018 17:22:03 GMT</pubDate>
    <dc:creator>kpn1</dc:creator>
    <dc:date>2018-05-30T17:22:03Z</dc:date>
    <item>
      <title>DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST</title>
      <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877490#M119</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;DUO Community-&lt;/P&gt;
&lt;P&gt;When trying to access the DUO API  to get the DUO User Info  using HTTPClient in POST.&lt;BR /&gt;
https://****.com/admin/v1/users , getting Error : 401, ReasonPhrase: ‘Unauthorized’&lt;/P&gt;
&lt;P&gt;But its working fine when using GET by passing userid in query string&lt;BR /&gt;
https://*******.com/admin/v1/users?username=testuser&lt;/P&gt;
&lt;P&gt;Please advise&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;
Samy&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 May 2018 16:57:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877490#M119</guid>
      <dc:creator>kpn1</dc:creator>
      <dc:date>2018-05-23T16:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST</title>
      <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877491#M120</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hey there Samy,&lt;/P&gt;
&lt;P&gt;You POST to make a change, or GET to retrieve information. You wouldn’t POST to retrieve information (implied by the statement “to &lt;STRONG&gt;get&lt;/STRONG&gt; the DUO User Info using HTTPClient in POST”).&lt;/P&gt;
&lt;P&gt;Compare these GET operations: &lt;A href="https://duo.com/docs/adminapi#retrieve-users"&gt;Retrieve Users&lt;/A&gt;, &lt;A href="https://duo.com/docs/adminapi#retrieve-groups"&gt;Retrieve Groups&lt;/A&gt; to these POST operations: &lt;A href="https://duo.com/docs/adminapi#create-user"&gt;Create User&lt;/A&gt;. &lt;A href="https://duo.com/docs/adminapi#create-group"&gt;Create Group&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;So, a GET on /admin/v1/users would return the full list of Duo users, but a POST on /admin/v1/users won’t do anything.&lt;/P&gt;
&lt;P&gt;Just wanted to clarify what action you are trying to perform in the POST.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 May 2018 16:50:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877491#M120</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2018-05-25T16:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST</title>
      <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877492#M121</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Thanks so much for the reply.&lt;/P&gt;
&lt;P&gt;Yes, I used POST to  retrieve  the Info. I will check these methods and get back to you.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Samy&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 May 2018 17:04:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877492#M121</guid>
      <dc:creator>kpn1</dc:creator>
      <dc:date>2018-05-25T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST</title>
      <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877493#M122</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi-&lt;/P&gt;
&lt;P&gt;GET is working fine, able to Retrieve the User.&lt;/P&gt;
&lt;P&gt;But POST / DELETE ,not working, getting  ‘UnAuthorized’ Error. This issue is there in HTTPClient. But the same data working fine in WebClient.&lt;/P&gt;
&lt;P&gt;please let me know if you need any other details&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Samy&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 May 2018 22:31:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877493#M122</guid>
      <dc:creator>kpn1</dc:creator>
      <dc:date>2018-05-29T22:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST</title>
      <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877494#M123</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;I’m not sure why you are receiving an error and frankly I don’t understand what you are trying to do via POST. Can you provide an example?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 May 2018 12:20:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877494#M123</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2018-05-30T12:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST</title>
      <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877495#M124</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Thanks-&lt;/P&gt;
&lt;P&gt;Never mind. I found the issue and fixed it.&lt;/P&gt;
&lt;P&gt;Auth Key data was not correct.&lt;/P&gt;
&lt;P&gt;Thanks again for your support.&lt;/P&gt;
&lt;P&gt;-Samy&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 May 2018 17:22:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877495#M124</guid>
      <dc:creator>kpn1</dc:creator>
      <dc:date>2018-05-30T17:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: DUO API : 401, ReasonPhrase: 'Unauthorized' using HTTPClient in POST</title>
      <link>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877496#M125</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Not sure if this would be applicable to your scenario, but you can use workato to connect to Duo via API to search for events and change Duo-user state.&lt;BR /&gt;
Workato has SDK connector for Duo API:&lt;BR /&gt;
&lt;A href="https://www.workato.com/custom_adapters/4384?token=38cfde2f" class="onebox" target="_blank" rel="nofollow noopener"&gt;https://www.workato.com/custom_adapters/4384?token=38cfde2f&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Nov 2018 02:50:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-api-401-reasonphrase-unauthorized-using-httpclient-in-post/m-p/4877496#M125</guid>
      <dc:creator>avs1</dc:creator>
      <dc:date>2018-11-06T02:50:59Z</dc:date>
    </item>
  </channel>
</rss>

