Search the Community
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
7,155 results
Sorted by:
02-26-2025
05:47 PM
7 Likes
Introduction
In my previous post, Using FILENAME URL to Access Internet Information, I noted that I preferred to use PROC HTTP to access internet resources because it was more flexible and p...
- Find more articles tagged with:
- GEL
Labels:
04-22-2025
04:38 PM
1 Like
There are many SAS Communities and other SAS resources on how to use PROC HTTP to connect to external systems and communicate via API calls. See the bottom of this article for a list of some of t...
04-11-2025
12:41 PM
3 Likes
Introduction
In a previous post ( Using PROC HTTP 1: Reviewing the HTTP Protocol) we discussed the basics of the HTTP protocol, and experimented using several cURL (client for URL) e...
04-07-2025
03:04 AM
3 Likes
...overnance.
Using PROC HTTP for Model Scoring in SAS Viya
SAS Viya provides powerful capabilities for deploying and scoring machine learning models through the microanalytic score s...
- Find more articles tagged with:
- GEL
- macros
- MAS
- Micro Analytics Services
- Model Manager
- ModelOps
- REST APIs
- scoring
05-08-2025
09:33 PM
...o condition.
I think that sys_prochttp_status_code is destroyed at the top of each http call and created again very soon after, so I suspect that the error is being picked up at the proc...
Show results in replies (3)
-
...parameter to the proc http call stops the connections being retained. There's a small o...
-
...aches the connections, as many processes do, making the it more efficiently. Since I am calling proc...
-
After much discussion with SAS Global Hosting, they came up with a solution. We had originally disc...
08-02-2023
05:12 AM
Hi May I ask someone to help me with following code? %let url=xxx;
%let token=_very_long_token_;
filename out temp;
proc http
url="&url"
method="GET"
out=o...
Show results in replies (4)
-
You can try the DEBUG LEVEL=3; statement on PROC HTTP to maybe get more details about what is b...
-
Do you suggest proc http url="&url" method="GET" out=out; h...
-
...PI with SAS. The token has been previously obtained by another proc http and coded to b...
-
Solved by adding the certificate. However, it remains mysterious to me, because bash ("curl -k") do...
01-19-2023
02:06 PM
...he URL is not good. HouF!
/* GET REPONSE EXPORT PROGRESS */
options set=SSLREQCERT="allow";
filename progr temp;
proc http
url="https://ca1.qualtrics.com/API/v3/responseexports/"
m...
Show results in replies (3)
-
The cURL and PROC HTTP URL should be the same here. URL="https://yul1.qualtrics.com/API/v3/s...
-
...SLREQCERT="allow"; filename resp temp; PROC HTTP METHOD="GET" URL= 'https://ca1.qualtrics.com/A...
-
...ptions set=SSLREQCERT="allow"; filename resp temp; PROC HTTP METHOD="GET" URL= 'https://ca1.qualtrics...
02-23-2021
03:44 AM
8 Likes
...EST API's from SAS is the proc http. As its name indicates, it makes HTTP requests. A simple request to a SAS Viya REST API has the following form.
This example is close to step one in o...
- Find more articles tagged with:
- GEL
- proc http
- programming
- reports
- SAS code
- visual analytics
12-11-2021
08:08 PM
Hello, I am having some issues with proc http. In particular I am trying to access an API endpoint, but getting a 401 unauthorized error. I have got this to work in Python, but not SAS. Is there a...
Show results in replies (4)
-
...C_Prod temp; proc http url= "&fullurl." method="GET" out=BC_Prod ; headers "A...
-
...emp; 1847 1848 proc http 1849 url= "&fullurl." 1850 method="GET" out=BC_Prod; 1851 h...
-
...eferenced in your PROC HTTP code so they wouldn't be passed. Now, maybe the access_token is all you need (o...
-
In Python you used x-auth-token as the header key. So why not try this HEADERS statement: ...
07-12-2024
10:33 AM
...he Bearer_token ****/
options set=SSLREQCERT="allow";
filename resp temp;
/* must include content-type/CT= option */
proc http
url="https://ca1.qualtrics.com/oauth2/token"
method='POST'
A...