1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-04 08:00:05 +00:00

fix: adding authentication to server macros. Closes #221

This commit is contained in:
Allan Bowe
2022-04-20 15:41:36 +00:00
parent c4cb0b2395
commit 11da53f1cb
7 changed files with 82 additions and 26 deletions

View File

@@ -61,8 +61,11 @@ data _null_;
run;
data _null_;
file &fname1;
file &fname1 lrecl=1000;
infile "&_sasjs_tokenfile" lrecl=1000;
input;
put "Content-Type: multipart/form-data; boundary=&boundary";
put "Authorization: Bearer " _infile_;
run;
%if &mdebug=1 %then %do;