getRequestPostData method

Future<String> getRequestPostData(
  1. RequestId requestId
)

Returns post data sent with the request. Returns an error when no data was sent with the request. requestId Identifier of the network request to get content for. Returns: Request body string, omitting files from multipart requests

Implementation

Future<String> getRequestPostData(RequestId requestId) async {
  var result = await _client.send('Network.getRequestPostData', {
    'requestId': requestId,
  });
  return result['postData'] as String;
}