<?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: HTTP 403 error when using CAS REST api in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393030#M61</link>
    <description>&lt;P&gt;Thanks but may I ask what is the credentials for sasserver.demo.sas.com:8777/cas/sessions?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2017 18:31:12 GMT</pubDate>
    <dc:creator>xiaoys0725</dc:creator>
    <dc:date>2017-09-04T18:31:12Z</dc:date>
    <item>
      <title>HTTP 403 error when using CAS REST api</title>
      <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/392912#M59</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a new user for sas viya and now I am trying to get familar with&amp;nbsp;it on the remote desktop using pdc image. I am tring to create a session using the curl method showed in this link:&amp;nbsp;&lt;A href="https://developer.sas.com/apis/cas/rest/v3.0.1/apidoc.html" target="_blank"&gt;https://developer.sas.com/apis/cas/rest/v3.0.1/apidoc.html&lt;/A&gt;, which is "&lt;/P&gt;&lt;PRE&gt;curl -n -X PUT http://cloud.example.com:8777/cas/sessions&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;I tried to use &lt;A href="http://sasserver.demo.sas.com:8777/cas/sessions" target="_blank"&gt;http://sasserver.demo.sas.com:8777/cas/sessions&lt;/A&gt; and I got an HTTP 403 error there. May I ask if somebody know why is that? It's just simply I don't have the permission or it is because I need to use some other link?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 03:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/392912#M59</guid>
      <dc:creator>xiaoys0725</dc:creator>
      <dc:date>2017-09-04T03:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 403 error when using CAS REST api</title>
      <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393014#M60</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/160749"&gt;@xiaoys0725&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You get HTTP 403 because you are providing no credentials. &amp;nbsp;You can send in Basic Auth credentials (in real-world, only advisable over HTTPS) or an OAuth token in theAuthorization header.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 15:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393014#M60</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-09-04T15:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 403 error when using CAS REST api</title>
      <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393030#M61</link>
      <description>&lt;P&gt;Thanks but may I ask what is the credentials for sasserver.demo.sas.com:8777/cas/sessions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 18:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393030#M61</guid>
      <dc:creator>xiaoys0725</dc:creator>
      <dc:date>2017-09-04T18:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 403 error when using CAS REST api</title>
      <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393039#M62</link>
      <description>&lt;P&gt;Hello, I solved the problem, thank you! But I got another question: is there a CAS Rest api for the cas table? Or is there anyway that I can get data from caslib directly?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 19:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393039#M62</guid>
      <dc:creator>xiaoys0725</dc:creator>
      <dc:date>2017-09-04T19:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 403 error when using CAS REST api</title>
      <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393052#M63</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/160749"&gt;@xiaoys0725&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, &lt;A href="http://documentation.sas.com/?cdcId=vdmmlcdc&amp;amp;cdcVersion=8.11&amp;amp;docsetId=caspg&amp;amp;docsetTarget=cas-table-fetch.htm&amp;amp;locale=en" target="_self"&gt;fetch&lt;/A&gt; action fetches rows from a table or view.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 22:03:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393052#M63</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-09-04T22:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 403 error when using CAS REST api</title>
      <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393061#M64</link>
      <description>&lt;P&gt;Thank you. I tried fetch and then it works. But I came across another issue, I am trying to use angularjs to get access to the data, then I need to upload my html files somewhere on the server so I can get access to. I created a new file folder called"test" by sasstudio in /home/sasdemo, and upload my html files there. But I found I cannot open it by "sasserver.demo.sas.com/home/sasdemo/test/test.html". Do you know if there is a way to upload my html file on the server so that I can get access to my web page through URL?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:10:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393061#M64</guid>
      <dc:creator>xiaoys0725</dc:creator>
      <dc:date>2017-09-04T23:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 403 error when using CAS REST api</title>
      <link>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393073#M66</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/160749"&gt;@xiaoys0725&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Do you know if there is a way to upload my html file on the server so that I can get access to my web page through URL?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, in /var/www/html. You need to have root (or sudo) access to the server.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 00:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/HTTP-403-error-when-using-CAS-REST-api/m-p/393073#M66</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-09-05T00:55:18Z</dc:date>
    </item>
  </channel>
</rss>

