rest - SAS proc http to get attachement from cloud server -


i have written simple proc http connect 1 of cloud server instance. did 200 ok response. how download file present @ server via post(or in matter via get) proc http?

i new web service connection part. can guide me on this?

code comments:

%let workdir = /*local dir name*/;  filename rich "&workdir\temp";  filename respns "&workdir\respns";  filename hdrout "&workdir\hdrout";   data _null_;  file rich;  infile datalines4;  input;  put _infile_;  datalines4;  payload={ "grant_type": "password", "username": "username", "password": "password" "text": "sample" }  ;;;;  run;   proc http  url="/*my url*/" method="post" ct ="application/x-www-form-urlencoded" in=rich headerout=hdrout out=respns;  run; 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -