Show Table of Contents
第8章 $fh.mbaas
$fh.mbaas(options, success, failure);
MBaaS サービスのエンドポイントを呼び出します。
サポートされるプラットフォーム
JavaScript SDK
- Web Apps
詳細なバージョン情報については、Supported Configurations (英語) を参照してください。
8.1. 例
$fh.mbaas({
"service": "db", //the MBaaS service name.
"params": {}, //json object to send to the MBaaS service
"timeout": 25000 // timeout value specified in milliseconds. Default: 60000 (60s)
}, function(res) {
// Cloud call was successful. Alert the response
alert('Got response from cloud:' + JSON.stringify(res));
}, function(msg,err) {
// An error occured during the cloud call. Alert some debugging information
alert('Cloud call failed with error message:' + msg + '. Error properties:' + JSON.stringify(err));
});
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.