Updated: 4/3/2020, 10:08:01 PM
Created: 4/3/2020, 10:08:01 PM
Last Updated By: Mike Street
Read Time: 1 minute(s)
Created At: 6/27/2017 8:01:27 PM
Updated At: 11/25/2017 10:58:08 AM
Original Doc: wgetbody
Original ID: 261445
The WGETBODY gets the raw body sent in the web request. Only certain content types pass the raw body. See the config file to determine which ones.
# COMMAND 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)