post static method
Create a new resource.
url
is the target.
applicationKey
is the key associated with this devices in the bridge's
whitelist.
body
is the actual content being sent to the bridge.
Implementation
static Future<Map<String, dynamic>?> post({
required String url,
required String? applicationKey,
required String body,
}) async =>
_submitRequest(
url: url,
applicationKey: applicationKey,
body: body,
requestType: _RequestType.post,
);