FWIW, I just had to solve the same problem and did it by masking the json body with the nrbquote function and passing that to the IN parameter of the proc http, like so (where &pi_request_body contains a valid json object): %let body = %nrbquote(&pi_request_body.);
proc http
url="&server./piwebapi/batch"
method="POST"
ct="application/json"
in="&body."
out=&pi_response_file.;
headers "Authorization"="Bearer &pi_token.";
run; HTH, Robin Barendregt
... View more