<?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: SAS 9.1 HTTP PROC Basic Authuentication Failing in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489994#M128075</link>
    <description>&lt;P&gt;If you're using WPS you should really ask them rather than use a SAS forum given the history between the two companies&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/SAS_Institute_Inc_v_World_Programming_Ltd" target="_blank"&gt;https://en.wikipedia.org/wiki/SAS_Institute_Inc_v_World_Programming_Ltd&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Aug 2018 08:02:28 GMT</pubDate>
    <dc:creator>ChrisBrooks</dc:creator>
    <dc:date>2018-08-27T08:02:28Z</dc:date>
    <item>
      <title>SAS 9.1 HTTP PROC Basic Authuentication Failing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489495#M127827</link>
      <description>&lt;P&gt;Hi Team -&lt;BR /&gt;Am trying to get the data from &lt;STRONG&gt;JIRA REST API&lt;/STRONG&gt; using HTTP PROC.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS CODE:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc http&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; method="GET"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://servername:8080/rest/api/2/search?%str(&amp;amp;)fields=project,status%str(&amp;amp;)jql=project=C12395"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webusername="username"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webpassword="password"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ct="application/JSON"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=resp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Am getting error/response code as 400.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: Call to [http://servername:8080/rest/api/2/search?&amp;amp;fields=project,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status&amp;amp;jql=project=C12395] &lt;STRONG&gt;returned [400]&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: Procedure http step took :&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time : 0.628&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp; : 0.031&lt;BR /&gt;&lt;BR /&gt;Am really not sure what am missing. Same JIRA REST API URL working in JAVA.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Bharathi&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 06:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489495#M127827</guid>
      <dc:creator>bharathirajact</dc:creator>
      <dc:date>2018-08-24T06:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.1 HTTP PROC Basic Authuentication Failing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489812#M127971</link>
      <description>&lt;P&gt;Long shot, but try removing the %str() functions just in case quoting creates an issue&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 09:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489812#M127971</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-08-25T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.1 HTTP PROC Basic Authuentication Failing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489991#M128073</link>
      <description>&lt;P&gt;Thank you ChrisNZ, Still am getting http return code is 400.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc http&lt;BR /&gt;22 webusername="&amp;amp;username"&lt;BR /&gt;23 webpassword=XXXXXX&lt;BR /&gt;24 /*url="http://&lt;SPAN&gt;servername&lt;/SPAN&gt;:8080/rest/api/2/issue/12637"&lt;BR /&gt;25 */&lt;BR /&gt;26 url="http://&lt;SPAN&gt;servername&lt;/SPAN&gt;:8080/rest/api/2/search?&amp;amp;fields=project,status&amp;amp;jql=project=C00095"&lt;BR /&gt;WARNING: Macro variable "&amp;amp;fields" was not resolved&lt;BR /&gt;WARNING: Macro variable "&amp;amp;jql" was not resolved&lt;BR /&gt;WARNING: Macro variable "&amp;amp;jql" was not resolved&lt;BR /&gt;27&lt;BR /&gt;28 method="GET"&lt;BR /&gt;29 ct="application/json"&lt;BR /&gt;30 out=resp&lt;BR /&gt;31 headerout=headers&lt;BR /&gt;32&lt;BR /&gt;33 ;&lt;BR /&gt;34 run;&lt;BR /&gt;NOTE: Call to [http://l4dvedap4329:8080/rest/api/2/search?&amp;amp;fields=project,status&amp;amp;jql=project=C00095] &lt;STRONG&gt;returned [400]&lt;/STRONG&gt;&lt;BR /&gt;35&lt;BR /&gt;36 %echofile(resp);&lt;BR /&gt;NOTE: Procedure http step took :&lt;BR /&gt;real time : 2.153&lt;BR /&gt;cpu time : 0.873&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advice why am not able to make a call from WPS, same url working fine in browser.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bharathi&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 07:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489991#M128073</guid>
      <dc:creator>bharathirajact</dc:creator>
      <dc:date>2018-08-27T07:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.1 HTTP PROC Basic Authuentication Failing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489993#M128074</link>
      <description>Mmm the warnings are expected so don't worry about them.  But the error 400 means malformed address. So something is not quite right somewhere&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Aug 2018 08:02:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489993#M128074</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-08-27T08:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.1 HTTP PROC Basic Authuentication Failing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489994#M128075</link>
      <description>&lt;P&gt;If you're using WPS you should really ask them rather than use a SAS forum given the history between the two companies&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/SAS_Institute_Inc_v_World_Programming_Ltd" target="_blank"&gt;https://en.wikipedia.org/wiki/SAS_Institute_Inc_v_World_Programming_Ltd&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 08:02:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-1-HTTP-PROC-Basic-Authuentication-Failing/m-p/489994#M128075</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2018-08-27T08:02:28Z</dc:date>
    </item>
  </channel>
</rss>

