SBM AppScript Reference → Programming SBM AppScript → Shell Properties → Shell Property Descriptions → PostData Shell Properties
The PostData Shell property is available if the script is accessed via "ScriptPage" (URL Direct Access Context), and if the Content Type passed to the URL is "application/json", and if the HTTP call is a POST. The included POST data will be available via PostData.
string (output). The POST data from the HTTP call.
You can use an HTTP POST to send JSON data to your script in the URL Direct Access Context. The POST body of the HTTP message is added as a string-Variant to the shell object with Shell.PostData to provide the body.
First, note the following requirements:
SBM AppScript does not have any built-in tools for parsing JSON data, but the Shell.PostData should be available if all these criteria are true.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.