BaseApi
Last updated
Last updated
SuccessResponse
user :
The User
that this API is associated with.
apiUrl : string
The base URL of this API.
constructor(user, apiUrl)
This should only get called by classes that inherit the BaseApi
class.
apiUrl
should be the base API URL.
async request(url, method = 'get', data = null, cachePrefix = null)
Preform an authenticated request to the API.
user
should be an instance of the object.