1,010 B
1,010 B
docs / net.thauvin.erik.bitly / Bitly / call
call
@JvmOverloads fun call(endPoint:
String
, params:
Map
<
String
,
Any
> = emptyMap(), method:
Methods
= Methods.POST):
CallResponse
(source)
Executes an API call.
Parameters
endPoint
- The REST endpoint. (eg. https://api-ssl.bitly.com/v4/shorten
)
params
- The request parameters key/value map.
method
- The submission Method.
Return The response (JSON) from the API.