<?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 REST API connection Using SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/958918#M374230</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need your help on resolving an issue. I am using SAS&amp;nbsp;9.4M8 version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am pulling data from REST API and the PROC HTTP works fine for the first call. The API has data in multiple pages and whenever the JRESP is created, it contains the "next" from jresp.links which has the link to next page&lt;/P&gt;
&lt;P&gt;( like&amp;nbsp;&lt;A href="https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user&amp;amp;page%5Boffset%5D=50" target="_blank"&gt;https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user&amp;amp;page%5Boffset%5D=50&lt;/A&gt;&amp;nbsp;). However, when I read it via SAS it is fetching the "next" link as&amp;nbsp;&lt;A href="https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user0026page%5Boffset%5D=50" target="_blank"&gt;https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user0026page%5Boffset%5D=50&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The user&amp;amp; is getting replaced with user0026, there by my fetch fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone please help on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 12:49:56 GMT</pubDate>
    <dc:creator>RAmarapuram</dc:creator>
    <dc:date>2025-02-11T12:49:56Z</dc:date>
    <item>
      <title>REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/958918#M374230</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need your help on resolving an issue. I am using SAS&amp;nbsp;9.4M8 version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am pulling data from REST API and the PROC HTTP works fine for the first call. The API has data in multiple pages and whenever the JRESP is created, it contains the "next" from jresp.links which has the link to next page&lt;/P&gt;
&lt;P&gt;( like&amp;nbsp;&lt;A href="https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user&amp;amp;page%5Boffset%5D=50" target="_blank"&gt;https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user&amp;amp;page%5Boffset%5D=50&lt;/A&gt;&amp;nbsp;). However, when I read it via SAS it is fetching the "next" link as&amp;nbsp;&lt;A href="https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user0026page%5Boffset%5D=50" target="_blank"&gt;https://api.xxxxx.io/api/v2/ma?fields%5Bma%5D=user0026page%5Boffset%5D=50&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The user&amp;amp; is getting replaced with user0026, there by my fetch fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone please help on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 12:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/958918#M374230</guid>
      <dc:creator>RAmarapuram</dc:creator>
      <dc:date>2025-02-11T12:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/958919#M374231</link>
      <description>&lt;P&gt;0026 is the hex value for a UTF-16 representation of the ampersand. It looks like it's some type of URL encoding problem, but it's not consistent - I'd have expected the % characters to also have been replaced by 0025 if that was the case. Can you explain how you are capturing / constructing the URL for the second PROC HTTP call to the API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 13:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/958919#M374231</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2025-02-11T13:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959024#M374243</link>
      <description>&lt;P&gt;Hi SASJedi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the clarification on character encoding.&lt;/P&gt;
&lt;P&gt;I could see that we are currently using UTF-8 encoding option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am making the API calls using the config files and tokens. The first time, when I call the URL,&lt;/P&gt;
&lt;P&gt;I pass the very first link as&amp;nbsp; nextlink=&lt;A href="https://api.xxxxx.io/api/v2/&amp;amp;module./&amp;amp;relns" target="_blank"&gt;https://api.xxxxx.io/api/v2/&amp;amp;module./&amp;amp;relns&lt;/A&gt;. This link works fine and fetches data which has 50 records in it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The successful URL built is as below :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc http url="&lt;A href="https://api.xxxxx.io/api/v2/xxxx/?fields[xxxx]=us" target="_blank"&gt;https://api.xxxxx.io/api/v2/xxxx/?fields[xxxx]=us&lt;/A&gt;"&lt;BR /&gt;oauth_bearer="xxxxxxxxx" out = outfield;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the above URL is set, the JRESP.LINKS dataset fetches the next field with link to the next set of 50 records. Using this next field, I am creating a macro variable and pass this URL to create another data pull.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Below is URL which gets constructed and is creating issue :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;proc http&amp;nbsp;url="&lt;A href="https://api.xxxxx.io/api/v2/xxxx?fields%5Bmass%5D=us" target="_blank"&gt;https://api.xxxxx.io/api/v2/xxxx?fields%5Bmass%5D=us&lt;/A&gt;&lt;STRONG&gt;0026&lt;/STRONG&gt;page%5Boffset%5D=50"&lt;BR /&gt;oauth_bearer="xxxx" out = outfield;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the URL in Postman to verify and postman gives me&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.xxxx.io/api/v2/xxxx?fields%5Bmass%5D=us" target="_blank"&gt;https://api.xxxx.io/api/v2/xxxx?fields%5Bmass%5D=us&lt;/A&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;page%5Boffset%5D=50.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you think I should overwrite the encoding option or suggest anything better?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if I wasn't clear in explaining you the situation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 10:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959024#M374243</guid>
      <dc:creator>RAmarapuram</dc:creator>
      <dc:date>2025-02-12T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959039#M374246</link>
      <description>&lt;P&gt;I understand the process. What I need is to see the SAS code that creates the macro variable (page) and the SAS code that creates the second URL. YOu explain the process as:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;SPAN&gt;... the JRESP.LINKS dataset fetches the next field with link to the next set of 50 records. Using this next field, I am creating a macro variable and pass this URL to create another data pull.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;I need to see the SAS code that performs that process.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 14:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959039#M374246</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2025-02-12T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959090#M374260</link>
      <description>&lt;P&gt;Hi Jedi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code. Hope this gives you some understanding now of what I am trying to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;%let nextLink = &lt;A href="https://api.xxxxx.io/api/v2/&amp;amp;module./&amp;amp;relns" target="_blank"&gt;https://api.xxxxx.io/api/v2/&amp;amp;module./&amp;amp;relns&lt;/A&gt;.;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;%let batchnum = 1;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/* flag_url is count of records where there is nextlink */&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;%do %until (&amp;amp;flag_url.=0);&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/*Handle special characters section starts*/&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; filename outfield "&amp;amp;config_root./json_in_files/xxxxx_data.json";&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; filename out_&amp;amp;mapmod. "&amp;amp;config_root/json_map/out_&amp;amp;mapmod..map";&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; proc http url="&amp;amp;nextLink."&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oauth_bearer="&amp;amp;access_token"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;out = outfield;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/*this section handles the special characters in the data that will not come in via JSON */&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;%sysexec&amp;nbsp; cd &amp;amp;config_root./json_in_files;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/*replaces two types of special char with space in the new file */&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;%sysexec cat xxxxx_data.json | sed 's/\\u2022//g; s/\\uf0a7//g; s/\\u//g' &amp;gt; xxxxx_data1.json;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/*uses new file for libname */&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;filename fields "&amp;amp;config_root./json_in_files/xxxxx_data1.json";&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;filename out_&amp;amp;mapmod. "&amp;amp;config_root/json_map/out_&amp;amp;mapmod..map";&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;libname jresp json fileref=fields map=out_&amp;amp;mapmod.;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;%if &amp;amp;batchnum=1 %then %do;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;%if (&amp;amp;module.=maxxxx) %then %do;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; data &amp;amp;module._us_data;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; set jresp.us_data;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; run;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; %end;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;%end;&lt;/DIV&gt;
&lt;DIV&gt;%else %do;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; %if %sysfunc(exist(jresp.&amp;amp;mod._data)) %then %do;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; data &amp;amp;module._data&amp;amp;batchnum. ;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; set jresp.&amp;amp;mod._data;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; run;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; %end;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; data &amp;amp;module._data;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; %if %numobs(&amp;amp;module._data) &amp;gt; 0 %then %do;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set &amp;amp;module._data &amp;amp;module._data&amp;amp;batchnum.;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%end; %else %do;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set &amp;amp;module._data&amp;amp;batchnum.;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; %end;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;%end;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/*resets nextlink and batchnum */&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;%let nextLink=;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;%let flag_url=;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/*gets the next URL to pull the next 200 records */&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;data s_ ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; set jresp.links ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; call symputx('nextLink',next);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/*sets count so the do until will stop when no more nextlinks are available */&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;proc sql ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; select count(*) into: flag_url&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; from jresp.links&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; quit;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; proc print data=jresp.links;run;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; %put flag_url=&amp;amp;flag_url.;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; %put nextLink=&amp;amp;nextLink.;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;/*updates batchnum and clears names for next run */&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; %let batchnum = %sysevalf(&amp;amp;batchnum. + 1);&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;%end;/*DO - UNTIL loop*/&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Feb 2025 17:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959090#M374260</guid>
      <dc:creator>RAmarapuram</dc:creator>
      <dc:date>2025-02-12T17:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959250#M374281</link>
      <description>&lt;P&gt;After the first PROC HTTP run, you appear to be extracting the value for &lt;STRONG&gt;nextLink&lt;/STRONG&gt;&amp;nbsp;from the JSON file&amp;nbsp;&lt;STRONG&gt;xxxxx_data1.json&lt;/STRONG&gt;. This file was produced by using sed to modify the text in the original&amp;nbsp;&lt;STRONG&gt;xxxxx_data.json&lt;/STRONG&gt; file. Is it possible that the sed search and replace is inadvertently modifying the URL in the original text? I would do diff on&amp;nbsp;&lt;STRONG&gt;xxxxx_data.json &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;xxxxx_data1.json&lt;/STRONG&gt; to see if the URL information has been changed.&lt;/P&gt;
&lt;P&gt;As an aside, I would personally use a DATA _NULL_ step and SAS functions to make the changes to the&amp;nbsp;&lt;STRONG&gt;xxxxx_data.json&lt;/STRONG&gt;&amp;nbsp;file instead of sed. It's easier to troubleshoot and doesn't require X command permissions.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 15:55:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959250#M374281</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2025-02-14T15:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959257#M374283</link>
      <description>&lt;P&gt;It's unusual that you would need to modify the JSON for processing in SAS. I work with many APIs that provide JSON responses, and if your SAS session is using UTF-8 you should not need to post-process the JSON for interpretation. So...are you using UTF-8 encoding in your SAS session (ENCODING option)? I certainly recommend that if you are working with APIs.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 18:08:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959257#M374283</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2025-02-14T18:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959461#M374351</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, SAS is picking up UTF-8. I tried changing the encoding= option via options and DATA step.&lt;/P&gt;
&lt;P&gt;But it wouldn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you suggest any other alternative for this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rajesh A&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 10:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959461#M374351</guid>
      <dc:creator>RAmarapuram</dc:creator>
      <dc:date>2025-02-18T10:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API connection Using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959464#M374353</link>
      <description>&lt;P&gt;Hi SASJedi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As suggested, I shall check the .json files and get back to you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rajesh A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 10:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REST-API-connection-Using-SAS/m-p/959464#M374353</guid>
      <dc:creator>RAmarapuram</dc:creator>
      <dc:date>2025-02-18T10:41:48Z</dc:date>
    </item>
  </channel>
</rss>

