@sasjs/core 4.9.1 → 4.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -36,5 +36,5 @@
36
36
  "@sasjs/cli": "3.6.0",
37
37
  "@sasjs/core": "4.4.7"
38
38
  },
39
- "version": "4.9.1"
39
+ "version": "4.9.2"
40
40
  }
@@ -33,8 +33,9 @@
33
33
  `,"$tablename":{"formats":{"col1":"$CHAR1"},"types":{"COL1":"C"}}`
34
34
 
35
35
  <h4> SAS Macros </h4>
36
- @li mp_jsonout.sas
37
36
  @li mf_getuser.sas
37
+ @li mp_jsonout.sas
38
+ @li mfs_httpheader.sas
38
39
 
39
40
  <h4> Related Macros </h4>
40
41
  @li mv_webout.sas
@@ -86,6 +87,9 @@
86
87
  /* fix encoding */
87
88
  OPTIONS NOBOMFILE;
88
89
 
90
+ /* set the header */
91
+ %mfs_httpheader(Content-type,application/json)
92
+
89
93
  /* setup json */
90
94
  data _null_;file &fref encoding='utf-8' termstr=lf;
91
95
  put '{"SYSDATE" : "' "&SYSDATE" '"';