ct_products_listing.sas

ct_products_listing.sas
filename response TEMP;
 
proc http
    url="https://library.cdisc.org/api/mdr/products"
    out=response;
    headers
        /* fictitious API key used, real one can be obtained through API Management Developer Portal */
        /* change to "application/xml" for response in XML format */
        "api-key"="abcdef0123456789abcdef0123456789"
        "Accept"="application/json";
run;
 
data _null_;
    infile response;
    input;
    put _infile_;
run;