rbv_api.getRequestBody()

Purpose

This function returns request body (applicable to PUT, POST, DELETE HTTP verbs only).

Syntax

rbv_api.getRequestBody();

Return value

The string value of current HTTP request body.

Example

var body = rbv_api.getRequestBody();
rbv_api.setBinaryFieldValue("Student", id, "testfile_upload", body, "image/png", "profilepic.png");