Strike class for making requests to a single endpoint.
Installation
Overview
The Strike class allows you to make requests to a single endpoint. It provides methods for common CRUD operations, including getting a single item, creating a new item, listing items, updating an item, and deleting an item.
Strike follows the Restful API conventions. So far no customization is allowed.
Differences from Zap
With the Strike module you can define 1 model and make REST requests to it. With the Zap module you can define 1 action and use that to make a specific request.
Usage
Under the hood, Strike uses the zap module to make requests. The zap module is a wrapper around the fetch API. It is recommended to read the zap documentation before using Strike.
Creating a Strike Instance
Creating a Strike Request
Making Requests
Suggestions
Grouping
With this module you can group your requests by endpoint. This is useful when you have multiple endpoints in your API.