用于流程配置的服务活动中的“服务响应脚本”,描述发起服务的请求对象。
Usable Range
流程配置-服务活动中的“响应脚本”
                
            Syntax
const res = this.request;Members
        static
    
textString
获取请求的body的原始内容。
Type
- 
            
    
        String
Syntax
var req = this.request.text;var req = this.request.text;Source
Methods
    static
    
    
    getBody() → {Object|String}
Summary
获取请求的body内容。
Syntax
const req = this.request.getBody();const req = this.request.getBody();Returns
- 
            
                ObjectString请求的body内容,如果能转换为json,则返回json对象,否则返回请求的内容的文本.