Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)
WGETBODY gets the raw body sent in the web request if the web request is not a x-www-form-urlencoded. This is primarily used to get XML or JSON sent in Rest services.
# Cpommand Syntax
# Syntax Elements
The WGETBODY subroutine only returns a string. That string is the raw body.
CALL WGETBODY(BODY) * NOW PARSE BODY JSON INTO A OBJECT CALL WOBJ(BODYOBJ,"FROMSTRING","",BODY,"",RERR)