Function: rewriteServingBody()
rewriteServingBody(
body):string
Parse, sanitize, and re-serialize a /serving-endpoints/... POST
body. Returns the original string verbatim when the body is not
JSON or no rewrite was needed.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string