diff --git a/all.sas b/all.sas
index 7284ecc..0f92aca 100644
--- a/all.sas
+++ b/all.sas
@@ -18585,8 +18585,9 @@ run;
`,"$tablename":{"formats":{"col1":"$CHAR1"},"types":{"COL1":"C"}}`
SAS Macros
- @li mp_jsonout.sas
@li mf_getuser.sas
+ @li mp_jsonout.sas
+ @li mfs_httpheader.sas
Related Macros
@li mv_webout.sas
@@ -18638,6 +18639,9 @@ run;
/* fix encoding */
OPTIONS NOBOMFILE;
+ /* set the header */
+ %mfs_httpheader(Content-type,application/json)
+
/* setup json */
data _null_;file &fref encoding='utf-8' termstr=lf;
put '{"SYSDATE" : "' "&SYSDATE" '"';
diff --git a/server/ms_webout.sas b/server/ms_webout.sas
index 4a45f08..a566116 100644
--- a/server/ms_webout.sas
+++ b/server/ms_webout.sas
@@ -33,8 +33,9 @@
`,"$tablename":{"formats":{"col1":"$CHAR1"},"types":{"COL1":"C"}}`
SAS Macros
- @li mp_jsonout.sas
@li mf_getuser.sas
+ @li mp_jsonout.sas
+ @li mfs_httpheader.sas
Related Macros
@li mv_webout.sas
@@ -86,6 +87,9 @@
/* fix encoding */
OPTIONS NOBOMFILE;
+ /* set the header */
+ %mfs_httpheader(Content-type,application/json)
+
/* setup json */
data _null_;file &fref encoding='utf-8' termstr=lf;
put '{"SYSDATE" : "' "&SYSDATE" '"';