Hi SASJedi,
Thanks for the clarification on character encoding.
I could see that we are currently using UTF-8 encoding option.
I am making the API calls using the config files and tokens. The first time, when I call the URL,
I pass the very first link as nextlink=https://api.xxxxx.io/api/v2/&module./&relns. This link works fine and fetches data which has 50 records in it.
The successful URL built is as below :
proc http url="https://api.xxxxx.io/api/v2/xxxx/?fields[xxxx]=us" oauth_bearer="xxxxxxxxx" out = outfield; run;
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.
Below is URL which gets constructed and is creating issue :
proc http url="https://api.xxxxx.io/api/v2/xxxx?fields%5Bmass%5D=us0026page%5Boffset%5D=50" oauth_bearer="xxxx" out = outfield;
run;
I checked the URL in Postman to verify and postman gives me
https://api.xxxx.io/api/v2/xxxx?fields%5Bmass%5D=us&page%5Boffset%5D=50.
Do you think I should overwrite the encoding option or suggest anything better?
Let me know if I wasn't clear in explaining you the situation.
Thank you.
... View more