• Community
    • Home
    • Welcome
      • Getting Started
      • Community Memo
      • All Things Community
      • SAS Customer Recognition Awards (2024)
      • SAS Customer Recognition Awards (2023)
    • SAS Community Library
    • SAS Product Suggestions
    • Upcoming Events
    • SAS Customer Recognition Awards
    • All Recent Topics
  • Learn
    • New SAS User
    • SAS Software for Learning Community
    • Ask the Expert
    • SAS Certification
    • SAS Tips from the Community
    • SAS Training
      • Programming 1 and 2
      • Advanced Programming
      • Course Case Studies and Challenges
      • Trustworthy AI
    • SAS Global Forum Proceedings 2021
    • Tech Report Archive
    • SAS Insights Archive
  • Programming
    • SAS Programming
    • SAS Procedures
    • SAS Enterprise Guide
    • SAS Studio
    • Graphics Programming
    • ODS and Base Reporting
    • SAS Code Examples
    • SAS Web Report Studio
    • Developers
  • Analytics
    • Statistical Procedures
    • SAS Data Science
    • Mathematical Optimization, Discrete-Event Simulation, and OR
    • SAS/IML Software and Matrix Computations
    • SAS Forecasting and Econometrics
    • Streaming Analytics
    • Research and Science from SAS
  • SAS Viya
    • SAS Viya
    • SAS Viya on Microsoft Azure
    • SAS Viya Release Updates
    • Moving to SAS Viya
    • SAS Visual Analytics
    • SAS Visual Analytics Gallery
    • Your Journey to Success
    • SAS Viya Workbench
      • SAS Viya Workbench: Getting Started
      • SAS Viya Workbench Discussion
      • SAS Viya Workbench: Release Updates
  • Administration
    • Administration and Deployment
    • Architecture
    • SAS Hot Fix Announcements
    • SUGA
  • Solutions
    • Microsoft Integration with SAS
    • Decisioning
    • SAS Decision Builder
    • Data Management
    • SAS Data Maker
      • SAS Data Maker: Getting Started
      • SAS Data Maker Discussion
    • Customer Intelligence
      • SAS Customer Intelligence
      • SAS Customer Intelligence 360 Release Notes
      • SAS 360 Match
    • Risk and Fraud
      • SAS Risk Management
      • Fraud, AML and Security Intelligence
      • SAS Fraud and Compliance Release Updates
      • SAS Risk Release Updates
      • Risk & Finance Analytics
      • Insurance Fraud
      • MRM AI Governance Working Group
      • SAS Quant Community
    • SAS Health
      • SAS Health and Life Sciences
      • SAS Life Science Analytics Framework
  • Hubs
    • Regional Hubs
      • SAS User Groups
      • SAS Community Nordic
      • AML Nordic User Group
      • SAS Japan
      • SAS Korea
      • CoDe SAS German
      • SAS Plattform Netzwerk
      • SAS Brazil Community
      • SAS Spanish Community
      • SAS Users Group in Israel
      • 欢迎来到SAS中文社区!
      • Ottawa Area SAS Users' Society
      • Toronto Area SAS Users Group
      • SAS Türkiye Community
    • Special Interest Hubs
      • SAS Hacker's Hub
      • SAS Innovate 2026
      • SAS Analytics Explorers
      • The Curiosity Cup
      • SAS Inner Circle Panel
      • SAS Hackathon Team Profiles (Past)
      • SAS Explore
      • Reporting and Optimization
      • Intern Alumni Network Community
Sign In

Search the Community

Showing results for 
Search instead for 
Did you mean: 
Search Options
  • Subscribe to RSS Feed for this Search
Advanced Hide Advanced
  • Posts
  • Users
  • Places
  • Products
Advanced Search Options
Search Modifiers:
You can apply modifiers to the terms you enter in the search field.
Use quotes to search for an "exact phrase".
Use the plus sign to search for +one +or +more +words.
Use the minus sign to -exclude -certain -words from your search.
Limits search results to topics that have no replies.
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:
Best Match
  • Date
  • Views
  • Likes
  • Replies
  • Best Match

Using PROC HTTP 1 - Review of the HTTP Protocol

by Ammonite | Level 13 SASJedi in SAS Communities Library
‎02-26-2025 05:47 PM
7 Likes
‎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:
  • Data Management
  • SAS Programming

From cURL to PROC HTTP on SAS Viya

by Community Manager joeFurbee in SAS Communities Library
‎04-22-2025 04:38 PM
1 Like
‎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...
Labels:
  • Developers
  • Learn SAS
  • REST APIs
  • SAS Programming
  • SAS Studio
  • SAS Viya
  • Tips and Tricks

Using PROC HTTP 2 - Accessing Internet Information and Debugging

by Ammonite | Level 13 SASJedi in SAS Communities Library
‎04-11-2025 12:41 PM
3 Likes
‎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...
Labels:
  • Data Management
  • REST APIs
  • SAS 9
  • SAS Programming
  • SAS Viya

Managing Models using SAS Model Manager Macros and Proc HTTP

by SAS Super FREQ XavierBizoux in SAS Communities Library
‎04-07-2025 03:04 AM
3 Likes
‎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
Labels:
  • Developers
  • REST APIs
  • SAS Model Manager
  • Tips and Tricks
  • Tutorial

Strange error message calling proc http

by Barite | Level 11 LaurieF in SAS Programming
‎05-08-2025 09:33 PM
‎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...

proc http: token authentication

by Obsidian | Level 7 asasgdsfa in SAS Programming
‎08-02-2023 05:12 AM
‎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...

PROC HTTP Qualtrics.com

by Barite | Level 11 alepage in SAS Enterprise Guide
‎01-19-2023 02:06 PM
‎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...

Calling REST API’s from SAS : Using proc http to extract report conten...

by SAS Super FREQ XavierBizoux in SAS Communities Library
‎02-23-2021 03:44 AM
8 Likes
‎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
Labels:
  • Administration and Deployment
  • Developers
  • REST APIs
  • SAS Programming
  • SAS Studio
  • SAS Visual Analytics
  • Tutorial

Proc HTTP 401 Unauthorized

by Fluorite | Level 6 CR-Horton in SAS Procedures
‎12-11-2021 08:08 PM
‎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:   ...

OAth via a proc http call

by Barite | Level 11 alepage in SAS Enterprise Guide
‎07-12-2024 10:33 AM
‎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...
Show results in replies (1)
  • Try:   %let scope = manage:all; in="grant_type=client_credentials%str(&)scope=&sc...
  • « Previous
    • 1
    • 2
    • 3
  • Next »
Powered by Khoros