Updated: 2/24/2021, 3:51:59 PM
Created: 2/24/2021, 3:51:59 PM
Last Updated By: Daniel Klein
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)