Rest Api Manager
Functions
Link copied to clipboard
Adds a query parameters to the request
Link copied to clipboard
abstract fun delete(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): DeleteRestApi
Deletes something from the API.
Link copied to clipboard
Gets a certain endpoint from the API.
Link copied to clipboard
abstract fun patch(body: RequestBody, endPoint: EndPoint.IEnumEndpoint, vararg params: String): PatchRestApi
Patches something from the API.
Link copied to clipboard
Pots something to the API.
abstract fun post(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): PostRestApi
Posts something to the API.
Link copied to clipboard
abstract fun put(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): PutRestApi
Puts something to the API.