Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

How to Get the Body of the Incoming Request

Environment

Service Business Logic
Feature Cloud Code for Data, Cloud Functions

Description

Frequently you need to validate and use the incoming data for the request to a content type or to a Cloud Function.

Solution

For HTTP requests that are sent using the HTTP POST or PUT verbs (respectively Create and Update operations), the body of the request will be available in the request.data object.

Example:

if(request.data) {
    var incomingData = request.data;
    // use the data here
}

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.