ApiClient Plugin
Installation
Global installation (recommended, requires SPARK_PLUGINS environment):
- Extract the plug into your global plugin directory (
$SPARK_PLUGINS
)
- Go to your project directory and run
spark plugin --enable com.noccy.apiclient
Local installation:
- Extract the directory into
.spark/plugins
, like a savage.
Creating catalogs and requests
Requests are performed with the api:request
command:
ApiClient works on a map of properties, populated with the defaults from the
catalog. The request properties are then appied, followed by the profile
properties.
Properties